Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moh3a/eoms
Enhanced Order Management System
https://github.com/moh3a/eoms
Last synced: about 1 month ago
JSON representation
Enhanced Order Management System
- Host: GitHub
- URL: https://github.com/moh3a/eoms
- Owner: moh3a
- Created: 2023-11-15T19:53:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-19T19:34:50.000Z (about 1 year ago)
- Last Synced: 2023-11-19T23:23:47.088Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 280 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Enhanced Order Management System
## Getting Started
- Create a `.env` file;
- Copy `.env.example` into `.env` and fill in the required fields for the database connection. By default, SQLite is used, if you want to change it, provide the connection URL in `.env` and change `provider` field in `./prisma/schema.prisma` accordingly;
- Generate a JWT secret by running and add it to `.env````sh
openssl rand -base64 32
```- Run the migration, seed your database and build by running
```sh
pnpm install
pnpm migrate
pnpm build
```- Start the server
```sh
pnpm start
# or npm run start
```- Server should be running in `http://localhost:3000`
- While the server is running, the OpenAPI documentation can be found when navigating in a browser to `http://localhost:3000/docs`