events-server
status
Notes
See the complete setup instructions at https://github.com/trivalleycoders-org/events-client/edit/master/README.md
CI is using the yarn.lock file. Therefore, use Yarn and NOT NPM.
Use
Start MongoDB server
Create the users collection
use EventsDev
db.createCollection( "users", {
validator: {
Run server
$ yarn start
Run tests
once
$ yarn test
or with nodemon
$ yarn test-watch
Setup
- Clone this project
- Install MongoDB
- Start MongoDB with
$ [path to mongo]/mongod
- Create the events database (EventsDev) using instructions from events-client project
- Start the events-server. It will run on port 3030
$ cd [projects path]/events-server
$ yarn install
$ yarn start
Find the complete setup instructions at https://github.com/trivalleycoders-org/events-client/edit/master/README.md