tick3t-api/README.md

37 lines
641 B
Markdown

# tick3t-api
A REST API for tick3t.
**Technologies**:
- Node.js
- express
- mongodb
## Installation
1. Install `Node.js` and `npm`.
2. Install `mongodb`.
3. Clone this repository.
4. Install dependencies with `npm install`
5. Create env file or set environment variables. (read "Environment variables" paragraph)
6. Build with `npm run build`.
7. Start the server with `npm run serve`.
### Environment variables
Configure the environment variables:
```text
NODE_ENV=production
PORT=server-port
SECRET_KEY=your-secret-key
DB_URL=mongodb://your-host:port/db
DB_USER=your-user
DB_PASSWORD=your-password
```
## License
GPLv3