-
Edit .env file in backend/.env
- PG_USER: username of the master postgresql database
- PG_PASS: password of the master postgresql database
- PG_SERVER: hostname or ipaddress of the master postgresql database
- PG_PORT: port number of the postgresql database
- PG_DB: a name of database
- EMAIL_HOST: url of smtp server
- EMAIL_PORT: a port to connect to smtp server
- EMAIL_USERNAME: username to authenticate with smtp server
- EMAIL_PASSWORD: password to authenticate with smtp server
- API_KEY: an api key
-
Edit .env file in frontend/.env
- NEXT_PUBLIC_API_URL: url to the API , it should be
http://{hostname or ip}/api
- Note, we have self-sign certificate. So if you need to run frontend with
https
, please set api url withhttps
too. - If hostname has not been registered with DNS, please use ip of the server which user need to connect to.
- Note, we have self-sign certificate. So if you need to run frontend with
- NEXT_PUBLIC_API_KEY: an api key
- NEXT_PUBLIC_API_URL: url to the API , it should be
-
Build and run
docker-compose build
docker-compose up -d
docker-compose logs -f --tail 500
to show logs
-
Notifications
You must be signed in to change notification settings - Fork 0
Base app template by using • NextJs as frontend (with Ant Design for component framework and Zustand for state management) • FastAPI as backend • PostgreSQL as database • Nginx and Docker
License
NelloZ133/base-app-next-fast
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Base app template by using • NextJs as frontend (with Ant Design for component framework and Zustand for state management) • FastAPI as backend • PostgreSQL as database • Nginx and Docker
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published