Coderplex.org API server
This project uses Feathers. An open source web framework for building modern real-time applications.
Getting up and running is as easy.
-
Install your dependencies at the root of the repository
$ yarn
-
Rename
.env.sample
to.env
$ mv .env.sample .env
-
Get GitHub And LinkedIn OAUTH
client_id
andclient_secret
- Follow this guide for github and this guide for linkedin
- Use these as Authorization callback URL while registering
- For Github
http://localhost:4000/auth/github/callback
- For LinkedIn
http://localhost:4000/auth/linkedin/callback
- For Github
- And finally assign
client_id
andclient_secret
of each in.env
file
-
Install Mongodb Community Edition. And follow instruction to an instance of mongodb in another terminal.
-
Start your app with
$ yarn start
Simply run yarn test
and all your tests in the test/
directory will be run.
Feathers has a powerful command line interface. Here are a few things it can do:
# Install Feathers CLI
$ npm install -g feathers-cli
# Generate a new Service
$ feathers generate service
# Generate a new Hook
$ feathers generate hook
# Generate a new Model
$ feathers generate model
# Show all commands
$ feathers help
For more information on all the things you can do with Feathers visit docs.feathersjs.com.