https://github.com/pierredemailly/ecom-back
https://github.com/pierredemailly/ecom-back
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pierredemailly/ecom-back
- Owner: PierreDemailly
- Created: 2020-09-15T16:14:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T16:02:29.000Z (almost 6 years ago)
- Last Synced: 2025-06-14T11:44:20.580Z (about 1 year ago)
- Size: 35.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API e-commerce with Node.JS
## Technical spec
* NodeJS 12.16.1
* npm 6.13.4
* Nodemon 1.19
## Development server
There is many steps to follow to setup the API;
- First, you must set the connexion with your database (I recommend to use MongoDB since the API is developped with mongoose as ORM).
- Then set your AWS access key and his secret in the aws-config.json file.
- Finally, create an AWS S3 Bucket and set his name for the const `bucketName`.
The API is set, you can now run `npm run start:server` if you are using Nodemon, or `npm run start`
## Possible evolutions
- Adding a Swagger
- Create new branch of the project with a SQL version using typeORM
- Create new branch of the project with a local version (without using S3 buckets) for the NoSQL and the SQL version