Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rdev32/express-rest-app
REST API Template
https://github.com/rdev32/express-rest-app
Last synced: 6 days ago
JSON representation
REST API Template
- Host: GitHub
- URL: https://github.com/rdev32/express-rest-app
- Owner: rdev32
- License: mit
- Created: 2023-08-26T20:59:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-26T01:18:49.000Z (11 months ago)
- Last Synced: 2023-12-26T02:26:44.335Z (11 months ago)
- Language: TypeScript
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express REST Application Template
This project aims to be an scaffolding for medium size REST API with the Node stack.### Modules
This template uses mainly the following modules
- Prisma ORM
- Express
- JWT
- Jest
- Eslint
- Prettier
- Typescript*along many other modules that will help you build a medium size REST API*
### Scripts
| Command | Description |
| ---------------------- | ------------------------------------------------ |
| `npm start` | Launches the project in production. |
| `npm dev` | Launches the project in development mode. |
| `npm build` | Transpiles the project ready for production. |
| `npm format` | Formats the entire code as configured. |
| `npm lint` | Runs ESLint to check the project files. |
| `npm test` | Runs Jest tests. |
| `npm coverage` | Runs Jest tests and generates a coverage report. |
| `npm prisma:reset` | Resets the Prisma migrations. |
| `npm prisma:deploy` | Generates a migration for deployment |
| `npm prisma:migrate` | Runs Prisma migrations in development mode |
| `npm prisma:generate` | Generates Prisma client. |
| `npm prisma:seed` | Seeds the Prisma database. |
| `npm prisma:format` | Formats the Prisma schema. |### Database
If you need a database, I made a repository with a lot of docker [recipees](https://github.com/rdev32/dockerfiles) available### Contribute
Please feel free to submit an issue for suggestions and such.