Community-Driven open source marketplace (Backend API)
This is the main API of the GitCom platform available at api.gitcom.org
Project is built using .NET Core and it’s based on Micron framework
Database: PostgreSQL
ORM: Dapper
Migrations: Phinx
Webserver: NancyFX
Check out swagger.json
file inside repo or view it here: swagger preview
AL
stands for Application layer
- contains classes like Controllers, Utility classes (basically all business logic)DL
stands for Data layer
- contains models, repositories, custom class bindings etc.PL
stands for Presentation layer
- contains transformers and everything related to data processing / presentationcopy config.example.json into:
For main app
App/bin/Debug/netcoreapp2.2/config/config.json
For unit tests
Tests/bin/Debug/netcoreapp2.2/config/config.json
edit config files - fill database name / user / etc.
composer install
php vendor/bin/phinx migrate
- to migrate with default database (development)
php vendor/bin/phinx migrate -e testing
- to migrate with test database (used for testing)
App/bin/Debug/netcoreapp2.2/bin
Thank you for considering contributing to this repo, feel free to open a PR with any improvement, feature or bugfix.
All pull requests should go into dev
branch
For each merged PR you will be rewarded with contributor
badge and 2500 (or more) GitCom tokens which are tradeable on Waves Decentralized exchange (You will need to have a Waves wallet to be able to receive tokens)