Roxiler Systems MERN Stack Developer Intern Assignment

Getting Started

To get started with the assignment project, follow these steps:

Prerequisites

  • Node.js: Make sure you have Node.js installed on your computer. You can download it from nodejs.org.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/sujaltangde/roxiler-assignment.git
  2. Change into the frontend directory:

    cd client
  3. Install the frontend dependencies:

    npm install
  4. Run the development server:

    npm run dev
  5. Return to the main directory and change into the backend directory:

    cd ..
    cd server
  6. Install the backend dependencies:

    npm install
  7. Make sure your MongoDB server is running on your device.

  8. Create a 'config.env' file in the server > config directory and add your MongoDB connection string: Like this

    DB=mongodb://localhost:27017
  9. Run the development server:

    nodemon server.js

Tech Stack

  • 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.