https://github.com/ibrsec/backend-stockapi
Backend of the Stock App
https://github.com/ibrsec/backend-stockapi
express jwt mongodb
Last synced: about 1 month ago
JSON representation
Backend of the Stock App
- Host: GitHub
- URL: https://github.com/ibrsec/backend-stockapi
- Owner: ibrsec
- Created: 2024-08-08T23:09:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T13:26:34.000Z (almost 2 years ago)
- Last Synced: 2025-02-26T07:44:16.638Z (over 1 year ago)
- Topics: express, jwt, mongodb
- Language: JavaScript
- Homepage: https://backend-stockapi-express.vercel.app/documents/swagger/
- Size: 4.37 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Stock App Backend
An awesome Backend project of Stock App
Backend Swagger
ยท
Backend Redoc
ยท
Frontend Repo
ยท
Report Bug
ยท
Request Feature
๐ Table of Contents ๐
---
ERD:
[](https://backend-stockapi.onrender.com/)
---
---
๐ฆ A Backend of Stock App Project
๐ [Frontend Repo](https://github.com/ibrsec/stockapp-frontend-selfservice)
๐ฏ Express.js Framework: Developed a robust RESTful API with Express.js for secure and efficient stock data management.
๐ Authentication & Authorization: Implemented Simple Token, JWT for secure user authentication.
๐ API Documentation: Created clear API docs with Swagger and Redoc for easy testing and understanding.
๐ Database Management: Utilized MongoDB and Mongoose for consistent data modeling and querying.
๐ CRUD Operations: Built full CRUD functionality for products, sales, purchases, firms, and brands.
๐ Middleware & Error Handling: Added custom middleware for validation and consistent error handling.
๐ Scalable Deployment: Deployed on Render platform for high availability.
```sh
# clone the project
git clone https://github.com/ibrsec/backend-stockapi.git
# enter the project directory
cd backend-stockapi
# install dependency
npm install
# develop
npm run start
```
```diff
+ backend-stockapi (folder)
+ |---src (folder)
| |---config (folder)
| |
| |---controllers (folder)
| |
| |---errors (folder)
| |
| |---middlewares (folder)
| |
| |---helpers (folder)
| |
| |---models (folder)
| |
| โ---routes (folder)
|
|----.env
|----.gitignore
|----index.js
|----package.json
|----package-lock.json
|----swaggerAutogen.js
|----vercel.json
โ----readme.md
```
---