Inventory App Backend

Опубликовано: 14 Март 2026
на канале: Pranshu Basak
6
0

You won't believe what I've built! 🚀
I'm thrilled to announce that I've completed the backend for my Inventory App! Here's a concise overview of the route structure:

Home Page (GET /): Serves the home page of the application.
Register User (POST /api/users/register): Allows new users to register with email, name, and password.
Login User (POST /api/users/login): Enables users to log in with their credentials.
Forgot Password (POST /api/users/forgotpassword): Initiates the password reset process for users.
Reset Password (PUT /api/users/resetpassword/:token): Completes the password reset process using a token.
User Details (GET /api/users/getuser): Fetches details of the logged-in user.
Login Status (GET /api/users/loggedin): Checks if a user is currently logged in.
Update User (PATCH /api/users/updateuser): Updates user information such as name, phone, bio, and photo.
Change Password (PATCH /api/users/changepassword): Allows users to update their password.
Logout User (GET /api/users/logout): Logs out the current user.
Product Routes:

Create Product (POST /api/products/): Adds a new product with details like name, SKU, category, quantity, price, description, and image.
Update Product (PATCH /api/products/:id): Updates existing product details.
Get All Products (GET /api/products/): Retrieves a list of all products.
Get Single Product (GET /api/products/:id): Retrieves details of a single product.
Delete Product (DELETE /api/products/:id): Deletes a specified product.
Contact Us:

Contact Us Form (POST /api/contactus/): Handles user messages with subject and message content.
This backend is built to be robust, secure, and scalable, ensuring a seamless experience for users and administrators alike. Excited for what's next!

#InventoryApp #BackendDevelopment #API #WebDevelopment #CodingJourney