Skip to content

sikasarpong/back-end-inspiration-board

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full-Stack Inspiration Board: Back-end Layer

Goal

Our goal is to create a digital inspiration board.

Users should be able to create one or more boards.

Then, a user can select a single board. When a user selects a board, they can see all the cards associated with that board.

Users can even "+1" the cards that they agree with!

Demo

An example implementation of the project is deployed on Heroku.

A web app titled "Inspiration Board," with three columns titled "Boards," "Selected Board," and "Create a New Board". Fig. This example displays a list of boards, the name of a selected board (if there is one), and a form to create a new board.

A web app with five sections titled "Boards," "Selected Board," "Create a New Board," "Cards for Food Cravings" and "Add a Card".
Fig. This example displays all cards that belong to a board, once a selected board has been chosen.

Two sections titled "Cards for Food Cravings" and "Add a Card." There is a section of cards, featuring messages.
Fig. This example has a section of cards. Each card has a message, the number of "likes," a button to add the like, and a button to delete the card.

Back-end Layer Requirements

Back-end layer include:

  • Flask
  • PostgreSQL
  • SQLAlchemy (including Migrate and Alembic)
  • venv
  • python-dotenv
  • gunicorn
  • pytest
  • flask_cors

Create, Read, Update & Delete Boards

A user can be able to...

Create

  • Create a new board, by filling out a form. The form includes "title" and "owner" name of the board.
  • See an error message if a new board with an empty/blank/invalid/missing "title" or "owner" input is being created.
  • Hide the "New Board" form, so the "New Board" form is not seen all the time when looking at cards.

Read

  • View a list of all boards.
  • Select a board.

Delete

  • Delete an existing board.

Update

  • Update an existing board.

Create, Read, and Delete Cards

A user can be able to...

Create

  • Create a new card for the selected board, by filling out a form and filling out a "message."
  • See an error message the card's "message" is more than 40 characters.
  • See an error message if a user tries to make a new card with an empty/blank/invalid/missing "message."

Read

  • View a list of cards that belong to the selected board.

Delete

  • Delete an existing card.

+1 Feature

A user can be able to...

  • Press a "+1" icon on a single card, to indicate that an agreement with it.
  • See the number of "+1"s on a single card. Every card starts with zero "+1"s.

Deployment

The back-end API was deployed on Heroku.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.5%
  • Mako 2.3%
  • Procfile 0.2%