pipenv install
Open the installed virtualenv with:
pipenv shell
./manage.py migrate
./manage.py createsuperuser
Select a name and password for the super user.
Inside the Python virtual env:
./manage.py runserver
docker build . -t shopping-list
docker run -p 8000:8000 -it shopping-list:latest
Go to http://localhost:8000/admin/ and use your super user credentials to see the admin panel.
You can manually add/edit/remove products from here.
Go to http://localhost:8000/api/v1/shoppinglist/ to see the available endpoints on the API REST v1.
To use the npm version specified on the .nvmrc
file:
nvm use
Install dependencies:
npm install
npm run start
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.