Skip to content

rossprogram/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the server

db.users.update({email:"fowler@math.osu.edu"}, { $set: { isEvaluator: true } } )

To test this in a development environment, you should create a .env file for dotenv. This might look as follows for development.

PORT=4000
NODE_ENV=development

MONGODB_DATABASE=ross
MONGODB_PASS=thepassword
MONGODB_USER=theuser
MONGODB_HOST=localhost
MONGODB_PORT=27017

In production, the backend is built via a nix expression called default.nix which uses the pinned packages in yarn.nix; this relies on running yarn2nix, specifically

yarn2nix > yarn.nix

to capture the contents of yarn.lock in a format suitable for Nix.

About

Backend for the Ross web services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published