Community Service Locator API
API site: https://mofb-api.appspot.com/api-docs/
UI Site: https://scode-test.appspot.com/
Community services repos:
UI: https://github.com/SCODEMeetup/community-services-locator-ui
API: https://github.com/SCODEMeetup/mofb-api
Project Board: https://github.com/orgs/SCODEMeetup/projects/8
Project Introduction
Product Description and requirements
Requirements
Install Node.js using nvm (RECOMMENDED ), or from installer , or using command line
If Node was installed via nvm, run nvm use to use the correct version
Run npm i to install all node modules
Start server using
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 to index.ts.)
Include the relevant @Path and @<method> decorators from the typescript-rest library.
Put service logic in the api/services directory, general helper/utility logic in api/utils, and DTOs in api/models.
Note that you may have to restart the app for Swagger doc changes to apply.
Swagger documentation
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.
GCP (google cloud platform), automated app engine deployment
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