Skip to content
/ ce-be Public

Backend code for CoachEasy Project - CS 506 (Sotware Engineering)

Notifications You must be signed in to change notification settings

jkwik/ce-be

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ce-be

CoachEasy repository to house backend code Current endpoint: https://coach-easy-deploy.herokuapp.com/

Setup instructions

  • Install the heroku cli from https://devcenter.heroku.com/articles/heroku-cli
  • Login to the heroku cli by running heroku login. Enter your own heroku credentials as the application should have been shared with you (if not, ask justin or nati for access)
  • Install packages by running make install

Running the application

  • Run make run-dev. This will pull the DATABASE_URL from heroku and start the application

Testing the application

  • Run make run or make run-cov to run the tests and run the tests and generate a htmlcov folder containing an index.html file to display the coverage report

Connecting to our database using pgAdmin 4

  • Download pgAdmin 4 https://www.pgadmin.org/download/
  • Open up a new pgAdmin 4 window
  • Right click servers -> create server
  • Under connection tab: Enter in credentials from the heroku database credentials tab. Make sure that you enter the name of our database in Maintenance database.
  • Under advanced under DB Restriction enter the name of our database again.
  • Click save

About

Backend code for CoachEasy Project - CS 506 (Sotware Engineering)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •