Inventory App


This is the backend of inventory management application which is for managing dynamic inventory, on the Product page.
This is the assignment given by wendor for a fullstack intern. - (detail of the task updated here when the assignment submission period is completed).
Visit my app here


🔗 APIs

  GET : Product details
    https://courageous-sun-hat-bee.cyclic.app/api/product
    
  POST : Upload product details on DB
    https://courageous-sun-hat-bee.cyclic.app/api/product/create
  
  POST : User Authentication by JWT
    https://courageous-sun-hat-bee.cyclic.app/api/auth

  POST : Password reset request
    https://courageous-sun-hat-bee.cyclic.app/api/password-reset
  
  POST : Password reset link
    https://courageous-sun-hat-bee.cyclic.app/api/password-reset/:id/:token
    
  POST : Sign In
    https://courageous-sun-hat-bee.cyclic.app/api/users

  POST : Login
    https://courageous-sun-hat-bee.cyclic.app/api/users/:id/verify/:token

🔧 Tools Used

  • NodeJS
  • React
  • Mongoose
  • CORS, JWT and BCRYPT
  • Javascript / CSS

🔎 Preview

Screenshot 2022-12-11 at 10 40 17 PM

Screenshot 2022-12-11 at 10 40 24 PM

Screenshot 2022-12-11 at 10 39 35 PM

Screenshot 2022-12-11 at 10 39 46 PM

Screenshot 2022-12-11 at 10 40 02 PM


✌️ Contributing

Great!, after cloning & setting up the local project you can push the changes to your github fork and make a pull request.

Step 1: Clone The Repo

Fork the repository and then clone the repo locally by -

git clone https://github.com/getlost01/InventoryAppFrontend.git

Step 2: Install Dependencies

jump into the directory

cd InventoryAppFrontend

install all the dependencies

npm install

start the local server by

npm start

Step 3: Start Development Server

before starting the development Server
create .env file and add mongoDB url

MONGO_CONNECTION_URL= mongodb+srv://${ username }:${ password }@cluster0.auyyt.mongodb.net/MealPlanner?retryWrites=true&w=majority
JWTPRIVATEKEY = 
SALT = 
BASE_URL = 
SMTP_HOST = 
SMTP_PORT = 
MAIL_USER = 
MAIL_PASSWORD = 

start the local server by

npm start

or start the local server on nodemon by

npm test

After running the development server the site should be running on https://localhost:8080

Give the project a ⭐ if you liked it.
Made with ❤️ and nodeJS.