Skip to content

cristiangsp/users-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

In order to follow the workshop, please come with your laptop and the following requirements installed:

  • Python 3.7+
  • You favourite IDE (vim, PyCharm, Visual Studio Code, ...)
  • Your favourite tool for making HTTP Requests (curl, Postman, Paw, ...)

Installation

Clone this repository:

$> git clone https://github.com/cristiangsp/users-api.git .

Let's create a virtual environment and let's activate it.

$> python3 -m venv vnev
$> . venv/bin/activate

Let's install the project dependencies:

$> pip3 install -r requirements.txt

Run the project

To run the users API application execute the runserver.sh script:

$> make run

Now you can make a request to:

http://127.0.0.1:5000/users

If everything is set up properly you should see an empty result:

[]

Slides

Find next the slides to follow the workshop: Refactoring a web application with Python

About

Sample API for the "Refactoring a Web Application with Python" workshop

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published