"ENDRSD" is a capstone project that was built as a centralized location for Lambda School students to access track-specific career endorsement requirements, as well as provide students with a fun and engaging way to track their career endorsement progress.
Demo the project by clicking the ENDRSD logo (above the "Contributors" section) or find the deployed project at
Isaac Houle | Adam Mathieson | Hunter Raffety | Leilani Schi- mmelfennig | Mikis Woodwinter | Tico Thep- sourinthone |
---|---|---|---|---|---|
- Students can create their own user accounts and passwords
- Users are able to login & logout to protect their career endorsement information
- With proper credentials, students are able to view a list of their track-specific career endorsement requirements via a user dashboard
- Students are able to track their overall endorsement progress, as well as stay up-to-date on the progress being made towards individual requirements for endorsement
- Students can access static resources pertaining to specific endorsement requirements, such as Airtable forms and lecture videos
- It comes with a good supply of documentation, tutorials, and training resources because of the well established community around it.
- The use of components allows for modularity, leading to faster and more efficient development.
- Components can house their own logic and controls.
- Testing with React.js is very straight-forward and comes with great documentation.
Front end deployed to Netlify
Back end built using:
- PostgreSQL is a type of relational database that is open source and freely available for anyone to use.
- SQL databases have a reputation for being more reliable because they have been tried and tested longer than their NoSQL counterparts.
- The source code for PostgreSQL was developed by a large community that has created numerous online resources for support.
- The strongly-typed schemas with a SQL database leave very little room for errors.
- Node.js offers easy scalability because it can handle a large number of simultaneous connections with high throughput.
- Using node.js allows developers who are familiar with JavaScript, to develop both the client-side and server-side applications using a single programming language.
- Node.js takes less time to learn because it utilizes an already popular client-side scripting language---JavaScript.
- Support for node.js is readily available because of the large and active community behind it.
- Node.js is able to take advantage of caching things within the application memory for faster load times.
- Express.js makes web application development with node.js fast and easy.
- It is very easy to configure and customize express.js.
- Express.js allows you to create a REST API server.
- Allows you to define routes of your application based on HTTP methods and URLs.
- A SQL query builder that integrates well with a PostgreSQL database.
- Allows for 'migrations', which makes it easier to manage tables within the PostgreSQL database.
- It can create sequential files with timestamps and even manage table alterations.
- Allows for the creation of 'seeds', which can be used to consistently populate the database.
- A self-contained token which has authentication information, expiration information, and other user properties.
- JWTs don't have sessions to manage (stateless).
- No database table is required, which means fewer database queries.
- Can be used across multiple services.
- Protects against 'rainbow table attacks'.
- Resistant to brute-force search attacks.
- GET
/api/v1/users/:userId
- GET
/api/v1/tracks
- GET
/api/v1/requirements
- GET
api/v1/requirements/:requirementsId/steps
- POST
/api/v1/users
- POST
/api/v1/login
- PUT
/api/v1/requirements/:requirementsId/steps
In order for the app to function correctly, the user must set up their own environment variables. There should be a .env file containing the following:
* JWT_SECRET=<your-secret-here>
-This can be any unique string of characters.
* REACT_APP_STAGE=staging
-This must be included in the .env to utilize the staging database.
* REACT_APP_STAGE=production
-This must be included in the .env to utilize the production database.
If no REACT_APP_STAGE
environment variable is added to the .env
file, the default local database on port 5000 will be utilized.
After cloning this repo on to your local machine, use the package manager yarn to install all of the required dependencies for the ENDRSD app.
yarn install
When all of the proper dependencies have been installed, create a .env
file that stores the JWT_SECRET
and the REACT_APP_STAGE
environment variables as shown above. This particular .env
setup will allow you to immediately connect to the staging database instead of having to create a local database.
JWT_SECRET=<your-secret-here>
REACT_APP_STAGE=staging
Lastly, run yarn start
to create a build on your local machine that can be viewed at http://localhost:3000
.
yarn start
* format - formats code using 'Prettier' extension
* build - creates a build of the application
* start - starts the production server after a build is created
* test - runs tests in **tests** directory
* eject - copy the configuration files and dependencies into the project so you have full control over them
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.
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.
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.
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.
- 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.
These contribution guidelines have been adapted from this good-Contributing.md-template.
See Backend Documentation for details on the backend of our project.