Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

franjsco/tick3t-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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