Pre configured collection of applications needed for a full stack web site.
nvm install $(cat .nvmrc)
yarn all
preview http://localhost:3030/
You'll need nvm
,yarn
and docker
installed to run this project
- Clone repo locally or check out Duplicating a repository to start a new project without forking.
git clone [email protected]:ybbobdev/snack-pack.git
cd snack-pack
- Install node dependencies
nvm install $(cat .nvmrc)
yarn install
- Run this in the root of the project. This creates
./secrets
file with environment variables used for PostgresSQL and PGAdmin. It is in the.gitignore
list. Seepackage.json
yarn secrets
- Run these commands to start postgres and pgadmin.
yarn docker
- In a new shell run these commands to start the api and the site in development mode.
nvm use
yarn dev
- Verify site is up with these links.
- SITE: http://localhost:3030/
- API: http://localhost:3031/
- Update
appConfig.json
andsecrets
as needed.
- See
docs/docker-postgres-setup.md
for handy docker commands for viewing thepostgres
db andpgadmin
. - Sequilize
- NVM
- Yarn
- Docker
- Next js
- Tailwind
- Tailwind color theme generator