This project was created by me and three other students during the last month of a bootcamp.
The app was deployed to multiple environments on cloud but is currently offline.
Todo app. Created with Spring API and React frontend.
- MySQL DB
- IntelliJ IDEA or npm and NGINX
- set up MySQL DB according to the following table:
property | value |
---|---|
address | localhost:3306 |
database name | committed_app |
user | root |
password | password |
Tip
You can use different values and override them later in the set-up
- Open project (
File > Open..
) form thebackend
directory cp .env.sample .env
Tip
You can now override the DB credentials inside .env
- Using the IntelliJ's Run Configurations run the default configuration (or run
the
com/gfa/ProjectApplication.java
file)
- Open project (
File > Open..
) form thefrontend
directory cp .env.sample .env
- Using the IntelliJ's Run Configurations run the
npm start
configuration
Note
You might need to create it first. Don't forgot to specify the package.json
filepath
(you can find it in the frontend
directory)
Starting from the Git repository root:
cd backend
cp .env.sample .env
Tip
You can now override the DB credentials inside .env
./gradlew bootRun
Starting from the Git repository root:
cd frontend
directory (parent of thisREADME.md
file) if not alreadynpm install
- set environmental variable corresponding to the backend address
export REACT_APP_API_URL="http://localhost:8080/"
npm run build
cp -r build/ /opt/homebrew/var/www/
Warning
Will override (default) files!
cp -r build/ /opt/homebrew/var/www/
nginx -c $(pwd)/nginx/config
Note
It's mostly mock template, but you can create some todos
- Spring Security with JWT
- DB migrations with Flyway
- i18n and l10n
- testing with Junit and Postman
- CI/CD pipeline with CircleCI
- deployment to AWS as jar or Docker image
- documentation