To maintain a clean, maintainable, and scalable codebase, I've adhered to best practices by organizing the project into separate repositories for the frontend and backend components.
- Backend Repository: [https://github.com/kumaraswini-11/backend-tensorgo]
- Frontend Repository: [https://github.com/kumaraswini-11/frontend-tensorgo]
- Navigate to the backend directory and install all the dependencies:
cd backend
npm install
-
Create a .env file in the backend directory and set up the required environment variables as specified in the .env.sample file. Ensure that sensitive variables are managed securely.
-
Start the backend server:
npm start
Similarly, navigate to the frontend directory, install all the dependencies & start the development server for the frontend.
cd frontend
npm install
npm start