this is a vörk in progress 🥴🥴
This project was partly bootstrapped with Create React App
I used Yarn Workspaces to simplify dependencies... for now
Make sure you're on the right Node version:
$ nvm use
Install them dependencies:
$ yarn install
Run both frontend and backend with one command:
$ yarn start
Runs the frontend and the backend in development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Make a copy of env-sample
and fill in the details as you like.
Run docker compose up --build
and you'll have the full stack (MongoDB, mongo-express, frontend and backend).
Frontend at http://localhost:3000
DB admin UI at http://localhost:8081
Build the frontend image:
$ cd frontend
$ docker build . -t jupiter/frontend
Create a container and start the container:
$ docker create --name frontend -p 3000:3000 jupiter/frontend && docker start frontend
You should be able to see the app at http://localhost:3000
. Follow the same steps for backend if you want the containerized version only.