Skip to content
/ fluxt Public template

Boilerplate to quickly get started on building a Flask app with a Nuxt frontend.

Notifications You must be signed in to change notification settings

Cheaterman/fluxt

Repository files navigation

Nuxt/Flask/NGINX boilerplate

Useful to quickly get started on building Flask apps with modern frontend practices.

Installation

  1. Clone this repository: git clone https://github.com/Cheaterman/fluxt && cd fluxt
  2. Install uwsgi - example for Debian: apt install uwsgi
  3. Start the database server: docker-compose up -d db
  4. Create the backend virtualenv and activate it: cd backend && python3 -mvenv env && source env/bin/activate
  5. Install backend runtime & test dependencies: pip install -r requirements.txt -r requirements-test.txt
  6. Run database migrations: flask db upgrade
  7. Run the development server: cd .. && ./start_devserver.sh
  8. In a few seconds, the example chat app should be available at http://localhost:8080/ (if you're getting 502 Bad Gateway, be patient and try again :-) )

About

Boilerplate to quickly get started on building a Flask app with a Nuxt frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published