justJay-dev / nest-store-api

a port of fake-store-api into nest with sqlite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Built with Nest framework.

This is a good faith effort to rebuild the existing functionality from fakestoreapi.com without any extra dependences for running locally, and using relational data instead of nosql.

data is stored in a local sqlitedb, all of the entities should also work in postgres if you were so inclined.

Swagger can be found at the /docs route when running the application

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

a port of fake-store-api into nest with sqlite


Languages

Language:TypeScript 98.9%Language:JavaScript 1.1%