This is the backend for the reddit clone. The backed is made using spring boot. Configure the application using application.properties . Here master is replaced with main as per new convention.
- Fork the git repo.
- git clone https://github.com/< your-repo >/Reddit_Clone_Backend.git
- cd Reddit_Clone_Backend
- git branch feature_branch
Note: Always make a branch and then start developing. When commiting to git repo rebase and then merge it to your local main branch.
- git remote add upstream https://github.com/Persistent-Group6/Reddit_Clone_Backend.git
- git checkout feature_branch (always work on a diff branch from main)
- git fetch --all
- git rebase upstream/main
- git checkout master
- git merge feature_branch
- git push --force
- 'mvn clean install' - To download, build and install all packages.
- 'mvn build' - To build the project.
- In script folder run all sql files.