Skip to content

Roopaksh1/inventory-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

InStock

An inventory management app. It has product and category management with CRUD Operation.
Live 👇

Built With

Vite MongoDB Express.js React NodeJS TailwindCSS React Router JWT

Features

Product And Category Management

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.

User Authentication

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.

Installation

To get a local copy up and running follow these simple example steps.

  1. Clone the Repo
git clone git@github.com:Roopaksh1/online-tic-tac-toe.git
  1. Install the dependencies
cd frontend
npm install

cd backend
npm install
  1. 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
  1. Run the server
cd backend
node index.js
  1. Run the client
cd frontend
npm run dev

Open your browser and navigate to http://localhost:5173/

Screenshots


Releases

No releases published

Packages

No packages published

Languages