Skip to content

labs15-lambda-next/frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

326 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambda School NeXt

You can find the deployed project at https://www.lambdaschoolnext.com/.

Contributors

Henry Leverette Nicholas Pung Alan Perez George Adams Agustina Sosa Raidon Amakobe


MIT React Netlify Status code style: prettier

Project Overview

Trello Board

Product Canvas

UX Design files

Lambda NeXt is Lambda School's flagship program to help their students build a fully functional project to showcase their skills. The goal of Lambda NeXt is to build projects that solve a real world problem.

This website was created to help alleviate the pain in choosing which problem to solve by helping source volunteers and research the problem before committing teams to creating a working prototype.

Key Features

  • View list of problems approved by Admins
  • Vote on a problem you want featured
  • Sign up to help with research for a problem
  • Add a problem for Admins to approve

Tech Stack

Front end built using:

React.js + Redux.js

Why did we choose React.js + Redux.js?

  • React scales nicely for complex projects
  • Redux is a great global state management tool
  • Easiest to get started with, and familiarity with framework

Libraries

  • FontAwesome
  • MaterialUI
  • Axios
  • PropTypes
  • React Router
  • React Router Hash Link
  • Redux Thunk

Front end deployed to Netlify

Back end built using:

Node.js + Express.js + PostgreSQL

Why did we choose Node.js + Express.js + PostgreSQL?

  • Based off experience alone and also fits perfectly for the project.
  • Easy Scalability
  • Express makes it easier by having to write less code vs using only node.
  • Clear documentation

Libraries

  • SendGrid Email
  • JsonWebToken
  • Passport
  • Helmet
  • Cors

Back end deployed to Heroku

APIs

SendGrid Email

  • Used to send transactional email

Future work can connect a Lambda School DS project where it automatically generates Problems for administrators to approve.

Environment Variables

No Environment Variables were used.

Content Licenses

We could not find licensing information for all photos used in this project. If an image of yours is used in our project, please contact us to remove the picture, and it will be done ASAP. Create a GitHub issue to notify us to take picture down.

Image Filename Source / Creator License
n/a n/a Creative Commons

Testing

For testing, we mainly used PropType validation, and began testing with Jest.

  • PropTypes
    • Used to make sure props were passed down correctly.
  • Jest
    • Used to check a few actions.
    • Future work:
      • Currently not all tests are passing
      • Figure out how to mock test reducers
      • Needs more test coverage.

Future Features + Needs Work

  • Transition Class components to use React Hooks for entire site

  • Switch Material UI styles to use 'styled' hooks

  • Need to increase Performance score in Google Lighthouse (Chrome DevTools -> Audits)

  • Need styling in ProblemSubmissionModal (couldn't figure out how to style Dialog component from Material UI)

  • Need to switch Admin Components to Material UI (currently using Styled Components)

  • Need to adjust styling for Admin Components to match entire site

  • Remove unneccessary files from repository

  • Remove unneccessary code from JS files

  • Increasing test coverage

  • Connect back end with DS project to autopopulate problem dashboard

    • Add some kind of pagination to application when there's too many problems

Installation Instructions

To get client running locally:

  • Clone this repo
  • npm install to install all required dependencies
  • Delete 'package-lock.json' after dependencies are installed (very important)
  • yarn start to start the local server
  • yarn test to start using testing environment

Other Scripts

No other scripts were made.

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct. Please follow it in all your interactions with the project.

Issue/Bug Request

If you are having an issue with the existing project code, please submit a bug report under the following guidelines:

  • Check first to see if your issue has already been reported.
  • Check to see if the issue has recently been fixed by attempting to reproduce the issue using the latest master branch in the repository.
  • Create a live example of the problem.
  • Submit a detailed bug report including your environment & browser, steps to reproduce the issue, actual and expected outcomes, where you believe the issue is originating from, and any potential solutions you have considered.

Feature Requests

We would love to hear from you about new features which would improve this app and further the aims of our project. Please provide as much detail and information as possible to show us why you think your new feature should be implemented.

Pull Requests

If you have developed a patch, bug fix, or new feature that would improve this app, please submit a pull request. It is best to communicate your ideas with the developers first before investing a great deal of time into a pull request to ensure that it will mesh smoothly with the project.

Remember that this project is licensed under the MIT license, and by submitting a pull request, you agree that your work will be, too.

Pull Request Guidelines

  • Ensure any install or build dependencies are removed before the end of the layer when doing a build.
  • Update the README.md with details of changes to the interface, including new plist variables, exposed ports, useful file locations and container parameters.
  • Ensure that your code conforms to our existing code conventions and test coverage.
  • Include the relevant issue number, if applicable.
  • You may merge the Pull Request in once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.

Attribution

These contribution guidelines have been adapted from this good-Contributing.md-template.

Documentation

See Backend Documentation for details on the backend of our project.

About

Frontend repository for Lambda Next

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6