Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

136 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capstone I Backend

Getting Started

This project uses Express.js to serve up an API server, and Sequelize to connect to a PostgreSQL database. It uses JWTs for authentication with username and password.

You will also need to create the database: by default it is called capstone-1, but you are welcome to rename it in database/db.js

After that, you can get started with these commands

npm install # 📦 To install the packages
npm run seed # 🌱 To seed the database
npm run start-dev # 🚀 To start the server in development mode

This project runs in the Node.js runtime environment. We're not using Webpack here, but we are using a tool called nodemon, which re-runs our app whenever we save a file. You should see a message in the terminal telling you that the server is running on port 8080.

When an error occurs on the backend (Express), you'll see a message in the terminal. When an error occurs on the frontend (React), you'll see that error in the browser.

Deployment

This project has a vercel.json file, which will make it easier to deploy this project to Vercel. Check the video listed in the cohort repository for a walkthrough of how to connect your deployed Express server to Neon Postgres.

TEMPLATE - Team Norms: Capstone I

We’ve discussed how we want to work together. We agree that these things are important to us, but that our opinions may change with experience. This is a living document, subject to change as we learn more about working together as a team.

Communication & Meetings

  • Whats App Groupchat for communicating with one another
  • EveryDay After lunch will be meeting planning for the next steps on what to do.

Code Quality & Standards

  • Must get your work done
  • Good comments that explain what the work you did does
  • Lots of formatting. USE PRETTIER
  • Readable (variable names(lowercase, uppercase), file names (Capital first letter), function names(concise wording of what function does)

Collaboration & Support

  • Talk to eachother with respect
  • Positive reinforcement on what we are doing
  • Constructive criticism WITH RESPECT
  • Be open to suggestions on your work
  • Mandatory Team Dinner once a week

Time Management

Working Hours:

  • Guaro
    • Saturday: Cannot work. Works from 11:00 AM until closing ("cut") so time able to work varies.
    • Mon-Frid: Free until 8 or 9
  • Jose
    • Weekdays (Mon-Fri): Free all day
    • Saturday: Free all day
    • Sunday: Cannot work
  • Ben
    • Saturday: Free in the morning only (exact time not specified, but likely before noon)
    • Sunday: Cannot work
    • Mon-Fri: 10-4 Sometimes at night from 8 or 9
  • Jeremy
    • Saturday & Sunday: Early morning (9:00 AM – 1:00 PM)
    • Mon-Fri: Free 10-4 and usually at night around 8-9
  • Miranda
    • Weekdays (Mon-Fri): Free after 4:00 PM
    • Every day (including weekends?): Free 10:00 AM – 11:00 AM

Conflict Resolution

  • If you are having a roadblock, do not be afraid to say anything. We are all in this together
  • Make sure to check in on one another to see how we are doing, even if there is no conflict.