- Email: admin@gmail.com
- Password: 12345
- Email: staff@gmail.com
- Password: 123456 / 12345
A step-by-step setup guide to run this full-stack application locally on Windows 11.
Contributions are welcome.
- Fork the repository.
- Create a new feature branch.
git checkout -b feature/your-feature-name- Implement your changes.
- Create a brief document describing:
- The problem identified.
- The solution implemented.
- Files/modules affected.
- Any assumptions or limitations.
- Commit and push your changes.
- Open a Pull Request with a clear description of the update.
Include:
- Feature/Fix title
- Problem statement
- Solution summary
- Screenshots (if UI changes are involved)
- Testing details
For questions or contribution-related discussions:
📧 Email: gopinathshanmugavel@gmail.com
This project has been verified and optimized for the following local environment:
- OS: Windows 11
- CPU: Intel Core i5 (13th Gen)
- RAM: 16 GB
Follow these steps sequentially to set up and launch both the backend and frontend services.
Open your terminal (Command Prompt, PowerShell, or Git Bash) and run the following commands to pull the repository and navigate into the project directory:
git clone <YOUR_REPOSITORY_URL>
cd <REPOSITORY_FOLDER_NAME>
Install all required Node modules for the project:
npm install
Before launching the servers, you must configure the environment variables for both the backend and the frontend using the provided template files (.EXENV).
- Navigate to the
<base>/backend/directory. - Locate the sample file named
.EXENV. It contains the following template variables:
APPLICATION_PORT=4000
MONGO_URI=
JWT_SECRET=SECRET123
- Create a new file named
.envin the<base>/backend/folder. - Copy the contents of
.EXENVinto your new.envfile and supply your MongoDB Connection String.
- Sign in or create an account at MongoDB Atlas.
- Create a new Shared Cluster (Free tier).
- Go to Network Access under the Security menu and click Add IP Address. Choose Allow Access from Anywhere (
0.0.0.0/0) for development. - Go to Database Access and create a new database user with a username and password (remember these credentials).
- Navigate to your Database Deployment Dashboard, click Connect, and select Drivers.
- Copy the provided connection string. It will look similar to this:
mongodb+srv://<username>:<password>@cluster0.yfkw4mn.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
- Replace
<username>and<password>with your database user credentials and paste this string into yourMONGO_URIfield inside<base>/backend/.env.
- Navigate to the
<base>/frontend/directory. - Locate its
.EXENVfile, which looks like this:
VITE_BACKEND_URL=http://localhost:4000
VITE_API_TIMEOUT=10000
- Create a new file named
.envin the<base>/frontend/folder. - Copy the contents of
.EXENVinto this newly created.envfile. You can leave the defaults as they are for local execution.
To run the application, you need to execute the development server for both the frontend and backend simultaneously. Open two separate Command Prompt instances:
Navigate to the <base>/backend folder and run the development command:
cd <base>/backend
npm run dev
Expected Terminal Output:
◇ injected env (3) from backend\.env // tip: ⌘ multiple files { path: ['.env.local', '.env'] }
application running on : http://localhost:4000
MongoDB Connected: ac-yeutfnx-shard-00-00.yfkw4mn.mongodb.net
Navigate to the <base>/frontend folder and run the development command:
cd <base>/frontend
npm run dev
Expected Terminal Output:
VITE v8.0.13 ready in 402 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
Once both terminals show successful startup outputs:
- Open your web browser.
- Navigate to: http://localhost:5173/
Your local development instance is now up and fully functional!