Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gamboacarlos/crud-node
Node application for manage simple products using Typescript and Express as framework.
https://github.com/gamboacarlos/crud-node
Last synced: about 2 months ago
JSON representation
Node application for manage simple products using Typescript and Express as framework.
- Host: GitHub
- URL: https://github.com/gamboacarlos/crud-node
- Owner: gamboacarlos
- Created: 2022-07-29T12:11:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-29T12:11:59.000Z (over 2 years ago)
- Last Synced: 2023-07-16T23:22:33.323Z (over 1 year ago)
- Language: TypeScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node/Express/Mongoose/Typescript Product Management App
Node application for manage simple products using Typescript and Express as framework. Allows create, read, update and delete products, also get products for specific color or id and update price.
# Getting started
To get the Node server running locally:
- Clone this repository
- `npm install` to install dependencies.
- `npm run dev` to start the local server.
- `npm run start` to build the application.## Dependencies
- [expressjs](https://github.com/expressjs/express) - Framework for handling and routing HTTP requests.
- [mongoose](https://github.com/Automattic/mongoose) - For modeling MongoDB data to javascript.
- [dotenv](https://github.com/motdotla/dotenv) - For load environment variables.## Structure
- `src/index.ts` - Entry point of the application.
- `src/database/` - Contains the database connection configuration.
- `src/models/` - Contains the schema definitions for the Mongoose models.
- `src/routes/` - Contains the route definitions for the API.