Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.3 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.3 KB

Youth in Transformation LMS

This Project uses a MERN stack which demonstrates the following

Backend
  • API to register and login user.
  • API using which loged in user can add, edit and update it's product.
  • Pagination API to give list of perticular user's added product.
  • JWT token authentication.
Frontend
  • Creating a Component in React and creat routing.
  • Using react and material UI created form to login user and can register new user.
  • Product add, edit, delete and pagination also you can search product by name.
  • Making HTTP calls using Axios.
  • Calling multipart api with image upload.

Prerequisites

Below noted things you need to install to run this project in your system

  • Node.js
  • NPM
  • MongoDB

To Setup

Clone or download this repository

  1. cd backend
  2. npm install, npm install mongoose, and npm install dotenv
  3. cd ../frontend
  4. npm install, npm install date-fns, npm install @mui/x-data-grid, npm install react-chartjs-2, npm install chart.js
  5. cd into backend again (cd ../backend), create environment variable (.env file), a .env file is needed to connect to the database, it should start with: MONGODB_URL=mongodb+srv://

To Run

To run node server

  1. cd backend
  2. node server.js

To run react frontend

  1. cd frontend
  2. npm start