Skip to content

gabrieldefazio/seniorenrichment

Repository files navigation

Campi-Man

This RESTful web platform, built with sequelize, express, react, and redux allows Users to manage campuses and their students.

Run the app on Heroku by clicking here

Install locally by doing the following:

  1. Fork and clone this repo
  2. Set the name of your project in package.json. The skeleton intentionally ships with an invalid name.
  3. npm install
  4. Start the build process with: npm run build-watch
  5. In another terminal, start your app with npm start

Database

  • Students

    • have profile info (e.g. name and email)
    • must be assigned to a campus
  • Campuses

    • have info such as a name and image
    • can have many students assigned (may have none)

Views and Functionality

  • Navigation: as a user I...

    • will land on Home by default
    • can navigate to Campuses from Home
    • can navigate to Students from Home
    • can navigate to view a Single Campus from Campuses
    • can navigate to view a Single Student from Students
    • can navigate to view a Single Student from Single Campus (for any student at that campus)
    • can navigate to view that student's Single Campus from Single Student
  • Views: as a user I...

    • see a list of all campuses on the Campuses view
    • see a list of all students on the Students view
    • see details about a campus on the Single Campus view, including that campus's students
    • see details about a student on the Single Student view, including that student's campus
  • Actions: as a user I...

    • can create a campus
    • can edit a campus's info, including adding/removing a student to/from that campus
    • can delete a campus
    • can create a student
    • can edit a student's info, including the campus that student is assigned to
    • can delete a student

Routes

GET
- all campuses
- a campus by id
- all students
- a student by id
POST
- new campus
- new student
PUT
- updated student info for one student
- updated campus info for one campus
DELETE
- a campus
- a student

Video Walkthrough available here!

img

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages