A hobby project to gain hands-on learning experience with Nuxt.js, Flask, and deploying to Netlify and Heroku. I also needed a schedule generator for my baby back in 2018. 🥰
This page generates a sample nap schedule. Unlike most, if not all, baby schedule generators, the schedule is customizable:
- The time and length of naps or awake times can be adjusted.
- Naps can be added or removed.
Requires at least node v.14
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
# generate static project
$ npm run generate
For a detailed explanation on how things work, check out Nuxt.js docs.
- Install poetry
- Run the following commands
# create and activate the virtual environment
$ poetry shell
# install dependencies
$ poetry install
pytest is used to test the API.
- If virtual environment is not yet activated, run
poetry shell
- Run tests:
pytest