Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/talhat298/product-order-crud
This Node.js application, built with TypeScript, Express, and MongoDB, offers an API to manage products and orders with functionalities for creating, retrieving, updating, and deleting.
https://github.com/talhat298/product-order-crud
cors curd-operation dotenv eslint expressjs mongodb nodejs nodemon typescript zod
Last synced: 5 days ago
JSON representation
This Node.js application, built with TypeScript, Express, and MongoDB, offers an API to manage products and orders with functionalities for creating, retrieving, updating, and deleting.
- Host: GitHub
- URL: https://github.com/talhat298/product-order-crud
- Owner: TalhaT298
- Created: 2024-05-20T13:31:37.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T13:39:39.000Z (7 months ago)
- Last Synced: 2024-12-19T02:15:20.426Z (5 days ago)
- Topics: cors, curd-operation, dotenv, eslint, expressjs, mongodb, nodejs, nodemon, typescript, zod
- Language: TypeScript
- Homepage:
- Size: 8.16 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# product-order-crud
This is a Node.js application built with TypeScript, Express, and MongoDB. It provides an API for managing products and orders. The application includes functionalities such as creating, retrieving, updating, and deleting products, as well as creating and retrieving orders.
## Prerequisites
Make sure you have the following installed on your local machine:
- Node.js (v14 or later)
- npm (v6 or later)
- MongoDB (running locally or a connection URL)## Installation
1. **Clone the repository**
```
git clone https://github.com/TalhaT298/Assingment-2-Level-2```
cd repository-directory2. **Install dependencies**
```
npm install```
Set up environment variablesCreate a .env file in the root directory of your project and add the following variables:
PORT=5000
DATABASE_URL=mongodb://localhost:27017/your-database-name