To get started with the assignment project, follow these steps:
- Node.js: Make sure you have Node.js installed on your computer. You can download it from nodejs.org.
-
Clone the repository to your local machine:
git clone https://github.com/sujaltangde/roxiler-assignment.git
-
Change into the frontend directory:
cd client
-
Install the frontend dependencies:
npm install
-
Run the development server:
npm run dev
-
Return to the main directory and change into the backend directory:
cd .. cd server
-
Install the backend dependencies:
npm install
-
Make sure your MongoDB server is running on your device.
-
Create a 'config.env' file in the server > config directory and add your MongoDB connection string: Like this
DB=mongodb://localhost:27017
-
Run the development server:
nodemon server.js
- Frontend: React.js, Chart.js
- Backend: Node.js, Express.js
- Database: MongoDB
- Styling: Tailwind CSS
Note: The database used in this project is local and not hosted.