Skip to content

waterloop/team-manager-back

Repository files navigation

Team Manager Backend

Build Status Standard code style

Back end for managing the team

Checkout the API documentation here

Checkout the Frontend Repo here

Steps to run the project

1. Install Dependences

For this project we are using yarn.

If you have yarn, just run: yarn

If you don't you can run npm install -g yarn to get it. Sudo might be required on mac/linux

2. Setup Environment

Copy .env.example and rename it .env

Put in something random for API_SECRET and then set HOST to be http://localhost.com (This will be the url the server thinks its hosting from and is just for testing purposes)

Now OAuth authentications will redirect back to http://localhost.com but you don't own that domain.

So in your hosts file, add an entry that redirects http://localhost.com to 127.0.0.1 (localhost)

Doing it on Linux

Doing it on Windows

3. Setup database credentials

Make sure you have access to a MySQL server. Ask tyler zhang (@tyler on slack) for credentials

Or setup your own! How To setup MySQL server

Edit the .env file and input your credentials. This file is gitignored so it shouldn't end up in the repo

4. You're ready to go!

Simply run yarn dev and the project should be up and running.

A nodemon process will listen for file changes and reload the server everytime you save a change

About

Backend for team manager website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published