Simple Google Maps API Proxy Server.
-
Install Node.js with the same version as defined on
package.jsonengines or.nvmrcfile.You may use NVM (Node Version Manager) for easy installation.
nvm use
Main packages that are used as foundation for this project.
- NestJS -- framework for building efficient, scalable Node.js server-side applications.
- Axios -- Promise based HTTP client for the browser/node.js.
-
Install dependencies
npm install
-
Intialize git hooks to validate commit messages
npx simple-git-hooks
-
Create
.envfile. Use.env.exampleas a template. -
Now you're good to go!
npm run start:dev
This project is follow the Clean Architecture principles.
-
/src-- Source code-
main.ts-- Application entry point. -
/domain-- Domain layer (Entities and services abstractions). -
/infrastructures-- Infrastructure layer (Services implementations). -
/interfaces-- Interfaces layer (Application routes/controllers). -
/use_cases-- Application logic layer. -
**/libs-- Common constants, or other utilities used by folder it belongs, e.g/src/libsis global libs,/src/domain/libsis domain libs, and so on.
-
We use Conventional Commits to handle Git commit messages, and Github PR titles.
Look at gitlint.config.ts to see supported commit
types/scopes.
<type>(<scopes(optional)>): <content>Examples:
feat: Geocoding APIfeat: Places API
<type>(<scopes(optional)>): <content> gm-<issue-number>Examples:
feat: init swagger gm-4feat(src-use_cases): add geocode use cases gm-4
<type>-<content>-gm-<issue-number>Examples:
feat-geocoding-gm-4