alucardthefish / RecipesApi

REST API + Flask + Marshmallow + PostgreSQL + Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recipe API from youtube tuto

API for manage recipe collections using Flask, Marshmallow and Postgres.

Tutorial

Install

~ clone repo
~ cd repo folder
~ python -m venv env
~ pip install -r requirements.txt

Run the backend api server

Stand on base directory or folder and run the following:

~ python app.py

Try it out

Use Postman, or Insomnia Rest, or another similar app for doing your API calls!

Serve static files in flask server

Stand on ui folder and run the following command in order to build the angular app

~ cd ui/
~ ng build

or you can run:

~ ng build --watch

for building automatically when update your code

Manage your node version with nvm

If you find problems with the angular-cli due to node version issues, just install nvm in your system.

Links of interest

About

REST API + Flask + Marshmallow + PostgreSQL + Angular


Languages

Language:TypeScript 52.4%Language:Python 30.3%Language:HTML 11.2%Language:JavaScript 3.4%Language:Mako 1.2%Language:SCSS 1.0%Language:CSS 0.6%