Skip to content

StackPuz/Example-CRUD-Angular-18-FastAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example-CRUD-Angular-18-FastAPI

Prerequisites

  • Node.js
  • Python 3.10
  • MySQL

Installation

  • Clone this repository git clone https://github.com/stackpuz/Example-CRUD-Angular-18-FastAPI .
  • Change directory to Angular project. cd view
  • Install the Angular dependencies. npm install
  • Change directory to FastAPI project. cd ../api
  • Activate virtual environment and install packages. pip install -r requirements.txt
  • Create a new database and run /database.sql script to create tables and import data.
  • Edit the database configuration in /api/.env file.

Run project

  • Run Angular project. npm start
  • Run FastAPI project uvicorn app.main:app
  • Navigate to http://localhost:4200

About

The example shows how to building an Angular CRUD App with a FastAPI and using MySQL as a database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published