Coder Social home page Coder Social logo

allay-fe's Introduction

Allay Documentation

MIT
Formatter: Prettier Ui Components : Chakra UI form management
Maintainability Test Coverage

You can find the deployed project on Heroku.

Contributors

Spencer McGuire Aaron Pleitez Nasra Aden Matthew Weidner William Chambers Ignacio San Martin
Mandi Haase Justine Gennaro Shawn DelPercio Edvin Saletovic Alex Jenkins-Neary Noah Franco
Heriberto Galvez Garcia J. Caleb Spraul Andrew Archie


Project Overview

Trello Board

Product Canvas

Welcome to Allay! We are a platform that aims to relieve stress for students by providing a dashboard where students and alumni can talk about their job seeking experience. We do this by allowing alumni to leave reviews, post about job interviews, and share salaries. Additionally, we aim to provide basic social networking between students and hired alumni.

Allay is a job portal for Lambda students and alumni to network and talk about their place of employment, hiring process, and salary range.

Key Features

  • Onboarding using JWT for authentication
  • Viewing and posting candid company reviews
  • Viewing and posting informational interview reviews
  • Viewing and editing your profile
  • Visiting other reviewer's profiles

Tech Stack

Front end built using:

  • React: Current industry standard for web applications, using React let us displaying large amounts of data effectively by implementing Components. It is also very scalable, perfect for large applications with huge growth potential.
  • Redux: Centralizes our application's state and logic, easy to test/debug, works with any UI layer
  • Chakra: Chakra UI is accessible and themeable component library. Simple to implement and build beautiful looking apps fast.
  • Cypress: Fast, easy and reliable testing for anything that runs in a browser. Amazing UI tool for making setting up, writing, and running tests a breeze and easy to visualize.

Front end deployed to Heroku.

Back end built using:

  • NodeJS
  • Express
  • Knex
  • PostgreSQL
  • Jest

APIs

Authentication API

To authenticate a new user, you must send the following to the back end.

Expects:

{
  "id": 1,
  "first_name": "Jane",
  "last_name": "Doe",
  "email": "[email protected]",
  "track_id": 1,
  "cohort": "FT 1",
  "password": "password"
}

Returns:

{
  "id": 1,
  "first_name": "Jane",
  "last_name": "Doe",
  "email": "[email protected]",
  "track_id": 1,
  "cohort": "FT 1",
  "reviews": []
}

Google Places API

Google places API for custom autocomplete input of city/state on interview and company review forms.

Clearit API

API for loading the company logos within the review card.

Usage: src={`//logo.clearbit.com/\${review.logo}`}

Environment Variables

In order for the app to function correctly, the user must set up their own environment variables. create a .env.local file that includes the following:

_ REACT_APP - Notates the enviroment for the database.

*    REACT_APP_databaseURL=https://labs21-allay-be.herokuapp.com/api

*    REACT_APP_NODE_ENV=
   <production> OR <development>

5️⃣ Content Licenses

Image Filename Source / Creator License
sign_in.png Hanina Syed MIT
register.png Hanina Syed MIT
interviewIcon.png Elizabeth Lin MIT
companyIcon.png Elizabeth Lin MIT
calendar-blue.png Elizabeth Lin MIT
calendar.png Elizabeth Lin MIT
check-square.svg Elizabeth Lin MIT
check.png Elizabeth Lin MIT
chevron-down.png Elizabeth Lin MIT
chevron-up.png Elizabeth Lin MIT
clock-blue.png Elizabeth Lin MIT
calendar-blue.png Elizabeth Lin MIT
clock.png Elizabeth Lin MIT
close.svg Elizabeth Lin MIT
difficulty-blue.png Elizabeth Lin MIT
Difficulty.png Elizabeth Lin MIT
dollar-sign-blue.png Elizabeth Lin MIT
dollar-sign.png Elizabeth Lin MIT
edit.png Elizabeth Lin MIT
flag.png Elizabeth Lin MIT
hamburger-blue.svg Elizabeth Lin MIT
hamburger.png Elizabeth Lin MIT
logout-gray.svg Elizabeth Lin MIT
logout.png Elizabeth Lin MIT
map-pin-blue.png Elizabeth Lin MIT
map-pin.png Elizabeth Lin MIT
minus-square.png Elizabeth Lin MIT
rounds-blue.png Elizabeth Lin MIT
Rounds.png Elizabeth Lin MIT
search-blue.png Elizabeth Lin MIT
search.png Elizabeth Lin MIT
star-blue.png Elizabeth Lin MIT
star-fill.png Elizabeth Lin MIT
star.png Elizabeth Lin MIT
thumbs-down-blue.png Elizabeth Lin MIT
thumbs-down.png Elizabeth Lin MIT
trash.png Elizabeth Lin MIT
user-check-blue.svg Elizabeth Lin MIT
user-check.png Elizabeth Lin MIT
user-logout.svg Elizabeth Lin MIT
user.png Elizabeth Lin MIT
user.svg Elizabeth Lin MIT
walk.png Elizabeth Lin MIT

Testing

We chose cypress for its flexibility and ease of use. Cypress has amazing UI tools that lets us see our tests running in real time, which relieves a lot of headaches.

Installation Instructions

To get the server running locally:

  • Clone this repo

  • npm i to install all required dependencies

  • npm start to start the local server listening on localhost:3000

  • For testing

  • npm run cy:open to run testing with cypress

  • npm run cypress:coverage to update code climate coverage report

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.

ESLint && Prettier

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.

allay-fe's People

Contributors

dani-digital avatar haase1020 avatar ignaciosm avatar nasraaden avatar noahfranco avatar playtez avatar ryan-hamblin avatar sdelpercio avatar spencer-mcguire avatar taterntots avatar wchamber01 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

allay-fe's Issues

Bug #1

If you navigate back to the login form from the dashboards you can then use false credentials to access a new user.

Bug #6

The company sometimes takes long time to load in both review forms. This makes tests in Cypress fail.

Bug #4

Successfully deleting does not reroute to the dashboard. Instead, it does a full page refresh.

Bug #5

Adding a new company doesn't add it to the company list until site is refreshed.

Bug #3

Currently a user's selected filters are not saved when they log out. Fields in the BE tables will need to be created to save filter information for users.

Cypress localhost into a .env

Put the Cypress env URL into another file and import/export into cypress.json and wherever needed/called upon by cy.visted methods.

Bug #2

Unselecting a filter does not re-render the dashboard. Also, selecting multiple filters only renders the cards matching the last selected filter.

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.