- API site: https://mofb-api.appspot.com/api-docs/
- UI Site: https://scode-test.appspot.com/
- Community services repos:
- Project Board: https://github.com/orgs/SCODEMeetup/projects/8
- Project Introduction
- Install Node.js using nvm (RECOMMENDED), or from installer, or using command line
- If Node was installed via
nvm
, runnvm use
to use the correct version - Run
npm i
to install all node modules - Start server using
$ npm run dev
- Access Swagger docs at http://localhost:8000/api-docs (endpoints can be tested directly from this page)
- Run
npm i
to install all node modules - Run
docker-compose up
to start image - To access the swagger documentation navigate to http://localhost:8000/api-docs or http://{env}/api-docs/
- Node.js
- TypeScript
- Express
- Swagger
- Recommended editor: VSCode
- Create a new function in the corresponding file in
api/controllers
. (If you create a new file, be sure to add it toindex.ts
.)- Include the relevant
@Path
and@<method>
decorators from thetypescript-rest
library.
- Include the relevant
- Put service logic in the
api/services
directory, general helper/utility logic inapi/utils
, and DTOs inapi/models
. - Note that you may have to restart the app for Swagger doc changes to apply.
- When a PR is opened Travis CI will run the build automatically as a pre-requisite for merging.
- You can check the status of Travis CI build in your Pull Request.
- Agency: This dataset outlines all information about the agencies that provide services https://discovery.smartcolumbusos.com/dataset/handson_central_ohio/community_services_agencies
- Category: this dataset contains a list of categories that could describe the service(s) an agency provides https://discovery.smartcolumbusos.com/dataset/handson_central_ohio/handson_central_ohio_agency_subcategory_terms