- git (Preinstalled on most mac and linux machines)
- node (I recommend nvm for handling multiple node versions and upgrading node when the time comes)
- docker (and docker-compose, which I'm pretty sure just comes with Docker)
Start in the directory you wish for the project to live
- clone the repo (i.e.
git clone git@github.com:sambigelow/yapa.git
) - From the project root (
cd ./yapa
)- spin up the nginx docker container
- Make sure docker is already running
docker-compose up
- spin up the nginx docker container
- From the api (
cd ./api
)- install dependencies (
npm i
) - start the server (
npm start
)
- install dependencies (
- From the frontend (
cd ../frontend
)- install dependencies (
npm i
) - start the dev server (
npm run dev
)
- install dependencies (
- It's running! visit
http://localhost:8080
for "Hello, World!"