Code Monkey home page Code Monkey logo

fac-7-nation-army's Introduction

README

Travis button codecov

What ❔

Ever feel like you're terrible at coding? Or that rookie mistake you just made makes you shrivel with shame? Well misery loves company. ON FAC'd Up we can share our hilarious moments of cringe worthy coding blunders and realise we are not alone!

User Stories ⛄

As a FAC'd Upper I can...

  • log into the website (test logins Username: Aisha Password: password/ Username Yahia Password: test1)
  • add my own confession
  • view others confessions

Requirements ❗

  • Login form with 2 fields - username and password
  • Client-side and server-side validation on login form, including error handling that provides feedback to users
  • Users only have to log in once (i.e. implement a cookie-based session on login)
  • Username is visible on each page of the site after logging in
  • Any user-submitted content should be labelled with the authors username
  • There should be protected routes and unprotected routes that depend on the user having a cookie or not (or what level of access they have).
  • Website content should be stored in a database

Schema 🔢

users

Column Type Modifiers
id Serial Primary Key
faccer VARCHAR(30) not null
password Text not null
avatar VARCHAR(10) not null

posts

Column Type Modifiers
id Serial Primary Key
user_id Serial Foreign Key
post VARCHAR(200) not null
date DATE not null

Cool Learnings 🆒

fac-7-nation-army's People

Contributors

astroash avatar y-zaky avatar rachaelcodes avatar mineshmshah avatar

Watchers

James Cloos avatar

fac-7-nation-army's Issues

refactor src files

Some functions could be moved around/ into new folders to ease readablility

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.