mirror of
https://github.com/franjsco/tick3t-api
synced 2025-01-02 18:17:49 +01:00
641 B
641 B
tick3t-api
A REST API for tick3t.
Technologies:
- Node.js
- express
- mongodb
Installation
- Install
Node.js
andnpm
. - Install
mongodb
. - Clone this repository.
- Install dependencies with
npm install
- Create env file or set environment variables. (read "Environment variables" paragraph)
- Build with
npm run build
. - Start the server with
npm run serve
.
Environment variables
Configure the environment variables:
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