alexieyizhe / intern.plus

Upgrade your internship hunting experience.

Home Page:https://intern-plus.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Site logo

✨ intern+ aggregates information about the quality of a company's internship program, sourced directly through reviews from your peers – all designed to help you make an informed decision when it comes to choosing your next internship.

🎨 Design

Interested in how it was built? Check out a timelapse of the design process on YouTube or see the preliminary mocks on Figma!

πŸ₯ž Tech Stack

Created with React and bootstrapped with create-react-app.
Developed in TypeScript.
API powered by GraphQL, Apollo, and Vercel serverless.
Styled with styled-components.
Tested through Cypress and Percy.
Code style enforced with eslint and Prettier.
Continuous integration through Github Actions.
Hosted and deployed on Vercel and Firebase.

πŸš€ Development

To get started:

git clone https://github.com/alexieyizhe/intern.plus.git
cd intern.plus
npm i
npm start

Project structure

The project is split into the following parts:

  • /api contains the code for the GraphQL server & API.
  • /src contains the code for the React frontend:
    • /api contains client code for interacting with the graphql api.
    • /assets contains images, fonts, and other static assets.
    • /components contains all components that are shared between different parts of the project.
    • /context contains the global state management system.
    • /pages is relatively self-explanatory: it holds the pages of the app.
    • /shared contains all shared code like constants, etc that are used in multiple parts of the project.
    • /theme contains all code dealing with styles and theming of the app.
  • /cypress holds logic for the Cypress end-to-end testing suite tool, as well as E2E tests.

For more information, consult the README in the root of each directory.

GraphQL

All code dealing with GraphQL resides in /graphql directories. These directories are co-located next to the parts of the applications using them.

Each of these will contain logic like queries, fragments, etc. The types associated with the logic (auto-generated by Apollo tooling) reside in a /graphql/types subdirectory.

Development conventions

This project (loosely) follows a trunk based development style.

  • Branches are split off from the master branch for features, fixes, and all other development.
  • The release branch contains production code that is able to be hosted live.

Branch naming

Branches are prefixed with the following codes to denote their purpose:

  • feat[-XX]/: A larger feature or enhancement for the site.
  • fix[-XX]/: A fix or patch for bugs or errors.
  • chore[-XX]/: Development on aspects with no production changes (documentation, refactoring, style).

Branch names contain the issue number on which the development efforts are focused, if any.

Commits into master branch

When branches are merged back into master, they must be squashed committed.

The commit name must be prefixed with one of the following, according to Conventional Commits guidelines:

  • feat: new feature
  • bug: bug fixes
  • chore: refactoringchore-related changes
  • docs: documentation

Releasing a new version

When code is ready to be reflected on production, cut a Github release with an appropriate version tag. This will trigger a Github Actions workflow that bumps the version according to the tag and pushes this to both master and release.

Any new changes on the release branch is automatically built by Vercel and made live.

Wanna get in touch? Shoot Alex an email.

About

Upgrade your internship hunting experience.

https://intern-plus.vercel.app/

License:MIT License


Languages

Language:TypeScript 91.0%Language:JavaScript 7.8%Language:HTML 1.1%