BC API 用于的API。 路线 用户数 /users/:id /users/:id/:sport-:year 参赛作品 /entries/:sport-:year /entries/:id 大师级 /masters/:sport-:year 启动API 在本地 npm install npm start 生产 # Make sure the DATABASE_URL secret exists in the .env file touch .env echo " DATABASE_URL= " >> .env # Deploy to bc-api ` git push heroku master ` Or push to GitHub, since automatic deploys are enabled. # #