An inventory management app. It has product and category management with CRUD Operation.
Live 👇
Perform actions like add, edit and delete the product from the dashboard. If there is no product inside the category then the category will be removed. All form data gets validated with the express-validator library. Images are handled with cloudinary.
Authentication is done using jsonWebToken, passportjs and bcryptjs packages. Password is hashed using bcryptjs before saving in database. All products are linked with the user so that each user only has access to their products.
To get a local copy up and running follow these simple example steps.
- Clone the Repo
git clone git@github.com:Roopaksh1/online-tic-tac-toe.git
- Install the dependencies
cd frontend
npm install
cd backend
npm install
- To run this project, you will need to add the following environment variables to your .env file
Inside backend
PORT
MONGODB_URI
CLOUD_NAME
CLOUDINARY_API_KEY
CLOUDINARY_API_SECRET
Inside frontend
VITE_API_URL
- Run the server
cd backend
node index.js
- Run the client
cd frontend
npm run dev
Open your browser and navigate to http://localhost:5173/