GithubHelp home page GithubHelp logo

dylan-thomson / bootcampfu Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 365 KB

Question and answer forum for Trilogy Coding Bootcamp students

Home Page: https://nameless-eyrie-66645.herokuapp.com/

JavaScript 38.14% CSS 51.00% HTML 10.86%

bootcampfu's Introduction

BootcampFu

Coding Q&A Site for Trilogy Bootcamp Students

Screenshot

Live Site

Guest Account

If you want to try the site but do not wish to create an account, sign in using these credentials:

BootcampFu is a question/answer forum for Trilogy coding bootcamp students. Students can create accounts and post questions and answers to topics related to the Trilogy curriculum. Users are also able to upvote or downvote questions and answers to reflect whether they thought that particular post was helpful to them. Inspired by Stack Overflow.

Packages used:

Libraries/Frameworks used:

Challenges

The main challenge was coming up with a concept and building a minimum viable product within two weeks. After our group discussed a number of different ideas, we all settled on something that we thought we could accomplish in that time frame.

Group work comes with its own challenges. We had to mitigate tasks based on our individual strengths, and communicate regularly. Stand-up meetings were conducted every day or two in order to ensure that all team members were communcicating and coordinating effectively.

We used a number of technologies in this project that we were previously unfamiliar with. As a result, a good deal of time was spent reading documentation.

Designing the database schema for the overall website was a challenge as it was more complicated than previous projects. It helped tremendously to map out the tables and their relationships before defining them.

Potential Changes

  • Display user's questions and answers on dashboard and allow them to update or delete their posts
  • Account management for changing email, password, etc.
  • Interface enhancements
  • Notifications/Alerts

BootcampFu API

Users

  • GET /api/users returns JSON object containing all users in the following format:
    • username
    • id
    • status
    • Questions (array)
    • Answers (array)
  • GET /api/users/:id returns JSON object conataining the above information for the user with id of :id

Questions

  • GET /api/questions returns JSON object containing all questions in the following format:
    • id
    • title
    • text
    • score
    • topic
    • createdAt
    • updatedAt
    • UserId
    • User
    • Answers (array)
  • GET /api/questions/:id returns JSON object for the question with id of :id
  • GET /api/questions/topic/:topic returns JSON object for all questions for a particular topic in the above format. Current topics include:
    • HTML
    • CSS
    • JavaScript
    • Firebase
    • Node
    • Express
    • React

Answers

  • GET /api/questions/:questionId/answers returns JSON object for all answers to the questions with an id of :questionId in the following format:
    • id
    • text
    • score
    • createdAt
    • updatedAt
    • QuestionId
    • UserId
    • User
    • Question
  • GET /api/questions/:questionId/answers/:answerId returns JSON object for answer with id of :answerId belonging to question with id of :questionId

How To Clone

  • Open terminal to directory you wish to clone into and run git clone https://github.com/Dylan-Thomson/BootCampFu.git
  • Install modules by running npm install
  • Create a MySQL database using schema.sql using MySQL workbench or another tool of your choice
  • Create a .env file with the following lines:
    • LOCAL_DB_PASSWORD = "your-database-password"
    • SESSION_SECRET = "your-session-secret"
  • Run the application by entering node server.js into your terminal
  • Open browser and type localhost:3000 (or whatever port number you are using)

bootcampfu's People

Contributors

danielschauer avatar dylan-thomson avatar rahulrajdev avatar rraj13 avatar s07w avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rraj13

bootcampfu's Issues

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.