A simple, flexible CLI for bootstraping full-stack web applications using react, postgreSQL, go, docker, auth0.
This CLI provides a boilerplate setup for quickly starting your next project with these technologies.
It includes ready-to-use configurations for backend & frontend integration, database setup, user authentication, & docker.
- R - react
- P - postgreSQL
- G - golang
- d - docker
- a0 - auth0
- Docker
- Node
- Auth0 Account with required values in .env
- Git
- Download the suitable .tar.gz
- Move the download to the preffered installation directory.
- Run following command to extract and make the executable.
tar xf RPGda0-starter-cli_Linux_x86_64.tar.gz && sudo chmod +x ./RPGda0-starter-cli- Export path of directory in .profile and source the .profile.
export PATH=$PATH:</path/to/installation/directory>- Download the suitable .zip
- Move the download to the preffered installation directory.
- extract the zip
- Export path of directory in Environment variables.
- After the successfull installation just run following command to generate the starter project in the preferred directory.
RPGda0-starter-cli- Fill all the required information to generate the .env
- Open new terminal
- In root directory, run database container.
docker compose up starter_db- Open new terminal
- Uncomment following line in docker-compose.yml
# command: go run ./cmd/migrate- Run following command.
docker compose up starter_api- Open new terminal
- Comment back following line in docker-compose.yml
command: go run ./cmd/migrate- Run following command to start api server.
docker compose up starter_api- Open new terminal
- Change directory to web.
- Install Dependencies.
npm i- run client.
npm run start- API will be running at port 9090
- Web app will be running at port 5173
