Skip to content
/ backend-challenge Public template

Backend challenge for Penn Labs

Notifications You must be signed in to change notification settings

pennlabs/backend-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Penn Labs Backend Challenge

Documentation

Fill out this section as you complete the challenge!

Installation

  1. Click the green "use this template" button to make your own copy of this repository, and clone it. Make sure to create a private repository.
  2. Change directory into the cloned repository.
  3. Install pipx
  4. Install poetry
    • pipx install poetry
  5. Install packages using poetry install.

File Structure

  • app.py: Main file. Has configuration and setup at the top. Add your URL routes to this file!
  • models.py: Model definitions for SQLAlchemy database models. Check out documentation on declaring models as well as the SQLAlchemy quickstart for guidance
  • bootstrap.py: Code for creating and populating your local database. You will be adding code in this file to load the provided clubs.json file into a database.

Developing

  1. Determine how to model the data contained within clubs.json and then complete bootstrap.py
  2. Activate the Poetry shell with poetry shell.
  3. Run python3 bootstrap.py to create the database and populate it.
  4. Use flask run to run the project.
  5. Follow the instructions here.
  6. Document your work in this README.md file.

Submitting

Follow the instructions on the Technical Challenge page for submission.

Installing Additional Packages

Use any tools you think are relevant to the challenge! To install additional packages run poetry add <package_name> within the directory. Make sure to document your additions.

About

Backend challenge for Penn Labs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages