Skip to content

thesharifi/erp-crm

 
 

Repository files navigation

Free Open Source ERP / CRM | Node.js React.js

IDURAR ERP CRM | Simple To Use

www.idurarapp.com/open-source-erp-crm/

IDURAR is Open Source ERP / CRM (Invoice / Inventory / Accounting / HR) Based on Advanced Mern Stack (Node.js / Express.js / MongoDb / React.js ) with Ant Design (AntD) and Redux

Live App Demo : https://idurarapp.com/demo/

🚀 Give a Star ⭐️ & Fork to this project ... Happy coding! 🤩

Our Sponsors

Open Source ERP / CRM - MERN Stack (Node.js/React.js)

Open Source ERP / CRM App

IDURAR is Open Source ERP / CRM (Invoice / Inventory / Accounting / HR) Based on Mern Stack (Node.js / Express.js / MongoDb / React.js ) with Ant Design (AntD) and Redux

Live App Demo : https://idurarapp.com/demo/

username : [email protected] password : admin123

Getting started

Step 1: Clone the repository

git clone https://github.com/idurar/idurar-erp-crm.git
cd idurar-erp-crm

Step 2: Create Your MongoDB Account and Database/Cluster

  • Create your own MongoDB account by visiting the MongoDB website and signing up for a new account.

  • Create a new database or cluster by following the instructions provided in the MongoDB documentation. Remember to note down the "Connect to your application URI" for the database, as you will need it later. Also, make sure to change <password> with your own password

  • add your current IP address to the MongoDB database's IP whitelist to allow connections (this is needed whenever your ip changes)

Step 3: Create the Environment File

  • Create a file named .variables.env in the root directory.
  • Copy all variables from tmp.variables.env .
  • Paste the copied variables inside .variables.env. This file will store environment variables for the project to run.

Step 4: Update MongoDB URI

In the .variables.env file, find the line that reads:

DATABASE="your-mongodb-uri"

Replace "your-mongodb-uri" with the actual URI of your MongoDB database.

Step 5: Install Backend Dependencies

In your terminal, navigate to the root directory of the project and run the following command to install the backend dependencies:

npm install

This command will install all the required packages specified in the package.json file.

Step 6: Run Setup Script

While still in the root directory of the project, execute the following command to run the setup script:

node setup/setup.js

This setup script may perform necessary database migrations or any other initialization tasks required for the project.

Step 7: Run the Backend Server

In the same terminal, run the following command to start the backend server:

npm run dev

This command will start the backend server, and it will listen for incoming requests.

Step 8: Install Frontend Dependencies

Open a new terminal window , and run the following command to install the frontend dependencies:

cd frontend
npm install

This command will navigate to the frontend directory within the project and install all the required packages for the frontend.

Step 9: Run the Frontend Server

After installing the frontend dependencies, run the following command in the same terminal to start the frontend server:

npm run start

This command will start the frontend server, and you'll be able to access the website on localhost:3000 in your web browser.

⚠️ If you encounter an OpenSSL error while running the frontend server, follow these additional steps:

Reason behind error: This is caused by the node.js V17 compatible issues with OpenSSL, see this and this issue on GitHub.

Try one of these and error will be solved

  • Downgrade to Node.js v16.

  • Enable legacy OpenSSL provider

Here is how you can enable legacy OpenSSL provider

  • On Unix-like (Linux, macOS, Git bash, etc.)
export NODE_OPTIONS=--openssl-legacy-provider
  • On Windows command prompt:
set NODE_OPTIONS=--openssl-legacy-provider
  • On PowerShell:
$env:NODE_OPTIONS = "--openssl-legacy-provider"

Here is reference about enabling legacy OpenSSL provider

After trying above solutions, run below command

npm run start

If you still facing issue, then follow this stackoverflow thread. It has so many different types of opinions. You definitely have solution after going through the thread.

Website Login Credentials

Once the website is up and running, you can log in using the following credentials:

username : [email protected] - password : admin123

Now you should be all set to run the project locally on your machine and explore its features.

Contributing

1.How to contribute

2.Reporting issues

3.Working on issues

4.Submitting pull requests

5.Commit Guidelines

6.Coding Guidelines

7.Questions

Star History

Here you can see the proxy of our growth on the platform and that we're only getting started.

But if you'd like to check it out more news and website you can always check it out on: https://www.idurarapp.com/.

License

MIT/Massachusetts Institute of Technology(here LICENSE)

The IDURAR code is licensed by Massachusetts Institute of Technology.

By contributing to IDURAR, you will be agreeing that your contributions will be licensed under its Massachusetts Institute of Technology(MIT).

Show your support

Dont forget to give a ⭐️ to this project ... Happy coding!

About

IDURAR Open Source ERP CRM Node Js React MERN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.2%
  • Pug 7.7%
  • Less 1.4%
  • HTML 0.7%