Early Development for educAI CRM
This project was developed using Node.js v20.10.0. It is recommended to use the same version to avoid any compatibility issues.
Create a .env
file in the root of the project with the following content:
PORT=5050
- Clone the repository.
- Optional: Install global dependencies:
npm install -g nodemon
. Must run from a admin terminal. - Cd into the
frontend
folder and runnpm install
to install all the frontend dependencies. - Optional: Run
npm start
to start the frontend through the development server only and ignore the rest of the steps. - Run
npm run build
to build the frontend, from the same folder. - Cd back to the root of the project and cd into the
backend
folder. - Run
npm install
to install all the backend dependencies. - Create a
.env
file in the root of the project with the following content: PORT=5050 - Run
node src/app.js
to start the server.