Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rwalle61/time-to-leave

Find when the last tube ends
https://github.com/rwalle61/time-to-leave

Last synced: 21 days ago
JSON representation

Find when the last tube ends

Awesome Lists containing this project

README

        

# Time to Leave

## Tech Stack

- NextJS frontend and backend app monorepo
- [Typescript](https://www.typescriptlang.org/)
- Linting with [ESLint](https://eslint.org/), Formatting with [Prettier](https://prettier.io/)
- Testing with [Jest](https://jestjs.io/) and [`react-testing-library`](https://testing-library.com/docs/react-testing-library/intro)
- AWS
- Using [Google's Directions API](https://developers.google.com/maps/documentation/javascript/directions)

## How to use

- Use the `package.json` commands
- Set environment variables using a local `.env` file. This is gitignored. This includes an API key for Google

## Deployment

1. Log in to the AWS account with your user
2. Go to IAM
3. Generate an Access key-pair
4. Add that to your local `.aws/credentials` file as an aws profile in
5. Make sure your terminal session is using that aws profile
6. run `yarn deploy` (delete `.serverless` the first time you deploy to a new account)