Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juanitosebastian/city-bike-journeys
Solita Dev Academy pre-assignment
https://github.com/juanitosebastian/city-bike-journeys
docker express full-stack-web-development nodejs postgresql sequelize svelte3 tailwindcss typescript
Last synced: 9 days ago
JSON representation
Solita Dev Academy pre-assignment
- Host: GitHub
- URL: https://github.com/juanitosebastian/city-bike-journeys
- Owner: JuanitoSebastian
- Created: 2022-12-10T10:29:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T06:29:21.000Z (over 1 year ago)
- Last Synced: 2024-10-11T12:41:38.379Z (about 1 month ago)
- Topics: docker, express, full-stack-web-development, nodejs, postgresql, sequelize, svelte3, tailwindcss, typescript
- Language: TypeScript
- Homepage:
- Size: 1.56 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# City Bike Journeys
A full stack application for viewing data about city bike journeys in the Helsinki region. This app is a submission for the [Solita Dev Academy 2023](https://github.com/solita/dev-academy-2023-exercise) pre-assignment. The assignment provided data on bike stations and bike trips in .csv format. This app parses the data and provides a web application for exploring statistics about trips and bike station usage. City Bike Journeys is written using Typescript. The back end is an Express application. The front end is a Svelte3 app. The app is containerized using Docker.![Screenshot of City Bike Journeys app](https://github.com/JuanitoSebastian/City-Bike-Journeys/blob/main/docs/images/station_view.png?raw=true)
## Running a production build
1. Clone the repository by running `git clone https://github.com/JuanitoSebastian/City-Bike-Journeys.git`
2. Create an .env file in the root of the repository with the following structure:`/.env`:
```
POSTGRES_DB=postgres
POSTGRES_USER=postgres
POSTGRES_PW=example
```
The [.env.example](https://github.com/JuanitoSebastian/City-Bike-Journeys/blob/main/.env.example) file can be used as a starting point.3. Open terminal at the root of the repository and run `docker compose up`
4. The application launches at `localhost:80`Please note that when starting the app for the first time, the seeding of the database may take a few minutes. More information about seeding found [here](https://github.com/JuanitoSebastian/City-Bike-Journeys/blob/main/docs/seeding.md).
## Documentation & links
**Docs**\
[โ Completed Features](https://github.com/JuanitoSebastian/City-Bike-Journeys/blob/main/docs/features.md)\
[๐ Architecture](https://github.com/JuanitoSebastian/City-Bike-Journeys/blob/main/docs/architecture.md)\
[๐ฑ Seeding](https://github.com/JuanitoSebastian/City-Bike-Journeys/blob/main/docs/seeding.md)\
[๐ก API](https://github.com/JuanitoSebastian/City-Bike-Journeys/blob/main/docs/api.md)\
[๐งโ๐ป Running Local Dev & Testing Environment](https://github.com/JuanitoSebastian/City-Bike-Journeys/blob/main/docs/dev_and_testing.md)\
[๐งช Testing](https://github.com/JuanitoSebastian/City-Bike-Journeys/blob/main/docs/testing.md)**Links**\
[๐ Initial Figma Designs](https://www.figma.com/file/TiDksTjWUzM8KkQDLLZt5Z/Page?node-id=0%3A1&t=xjSsGOedzQp3IOEv-1)