Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

REST API server for WMA HackKmer Yaounde at Rebase Code Camp

License

Notifications You must be signed in to change notification settings

Wikidata-Cameroon/WdLexAudioBE

Repository files navigation

wiki-lex-match

table of content

setup repo locally

  • Clone repo with

     git clone git@github.com:Wikidata-Cameroon/WMA_HackKmer_Yaounde_Backend.git wiki-lex-match-backend
  • Navigate to project with from your terminal

     cd wiki-lex-match-backend
  • Run the following command on your terminal to install packages and dependencies with npm

     npm install
     # or npm i for short

Note

  • If you do not have node or npm installed to your machine, download and install the runtime from node

How to start server

  • Start local server in watch mode

     npm run dev
  • Generate Project Build

     npm run build
  • Visit API locally through

     http://localhost/8080
     # You can navigate to API version 1 (the current latest version)
     http://localhost/8080/api/v1

Contributing

  • Git flow

    • Branches should be name with feature/<task> format

    • Writing commits

      • Commit messages should follow the for mat #<issue_number> | <author_name> | <work_description>

      • @example is "|#1 | @rashjredmund | installed express and configured base project template. setup hustky, prettier, and eslint. also updated readme file"

      • The numbering is with respect to the issue number your are working on

    • When creating a PR;

      • If that pr is for an existing issue, be sure to tag the issue in the PR description, to auto-close the issue if it's approved, you can use any of these commands

        • Resolves #<issue_number>

        • Fixes #<issue_number> or

        • Closes #<issue_number>

    • Always assign the PR to yourself and your team-mate

  • Building

    • Navigate to src/modules/<your_module_of_concern> to start contributing

    • Set up your routes in the src/route/* directory in the right file or add one if need be

    • Set up your route handlers in the <module-name>.controller.ts file and add the endpoints to the corresponding route in src/routes/* directory

|


Happy Coding Everyone πŸš€

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /