mirror of https://github.com/franjsco/tick3t-api
7c428c1a0e
Bump acorn from 6.1.1 to 6.4.1 |
||
---|---|---|
src | ||
.babelrc | ||
.eslintrc.js | ||
.gitignore | ||
LICENSE | ||
README.md | ||
package-lock.json | ||
package.json |
README.md
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