Project uses various technologies defined in subdirectories of this repo.
Technologies defined here, are present in frontend as well as backend, they include:
You should have at least basic knowledge about these technologies before committing. :)
1. Install dependencies
yarn install
2. Build frontend
cd PlaylistDJ.Frontend && yarn run build
3. Build backend
cd PlaylistDJ.API && yarn run build
4. Start database
MongoDB was used in development. The usage if an ORM makes it possible to connect to different databases Although not tested.
mongod
Alternatively you can provide a connection string
in PlaylistDJ.API/mikro-orm.config.ts
if you have an Atlas Cluster.
OR
Modify said file to connect do a different supported database
Either way if the ORM cannot connect to the DB, the backend will crash
5. Modify .env
file in PlaylistDJ.API/
6. Start backend
cd PlaylistDJ.API && yarn run start
Root directory contains various parts of the service
PlaylistDJ.API
is a backend codePlaylistDJ.Frontend
contains the frontend codePlaylistDJ.Types
for type definitions used in multiple placesPlease read through the guidelines for committing code.
playlist-dj
) directoryCode > Reformat Code
Branches should respect the following naming convention
action-branch_name
Action specifies a purpose for a branch
bugfix
code related to fixing a bugfeature
adding code for the purpose of creating a featurecleanup
code removal, refactor, etc...Branch name summarises what kind of task was made.
Examples:
bugfix-removing_user_backend_crash
feature-adding_filters
cleanup-playlist_automations