This app will use the functional coding style for Backend and frontend .
- Maven
- Kotlin
- Arrow
- SpringBoot
- PostgresSql
- Yarn
- React
- Typescript
Build the app -
maven clean install
Run the app - Run
MainApplication.kt
Run as maven
mvn spring-boot:run
Got to frontend folder
cd frontend
Run
yarn install
Start react app
yarn start
Run the test(s)
yarn run test
Build the app
yarn build
- Backend Url: http://localhost:3333/
- React Url: http://localhost:3000/
Install postgres using brew
brew install postgresql
Start postgres
brew services start postgresql
Stop postgres
brew services stop postgresql
Login to postgres
psql postgres
Create user for our app
CREATE ROLE fullStackDeveloper WITH LOGIN PASSWORD '<password from properties>';
Add createDb role
ALTER ROLE fullStackDeveloper CREATEDB
Login using created role
psql postgres -U fullstackdeveloper