{"id":22164691,"url":"https://github.com/reijjo/solita","last_synced_at":"2026-04-09T17:04:59.492Z","repository":{"id":157082670,"uuid":"624935341","full_name":"reijjo/Solita","owner":"reijjo","description":"Helsinki City Bike App","archived":false,"fork":false,"pushed_at":"2024-09-10T07:38:28.000Z","size":59705,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T21:36:10.756Z","etag":null,"topics":["docker","expressjs","nodejs","pgadmin","postgresql","reactjs","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reijjo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-07T16:20:02.000Z","updated_at":"2024-09-10T07:38:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"4128d67d-7796-4748-8bf5-a7a2da327c4a","html_url":"https://github.com/reijjo/Solita","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reijjo%2FSolita","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reijjo%2FSolita/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reijjo%2FSolita/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reijjo%2FSolita/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reijjo","download_url":"https://codeload.github.com/reijjo/Solita/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245304872,"owners_count":20593626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","expressjs","nodejs","pgadmin","postgresql","reactjs","tailwindcss"],"created_at":"2024-12-02T05:09:24.838Z","updated_at":"2025-12-30T20:04:32.720Z","avatar_url":"https://github.com/reijjo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solita\nHelsinki City Bike App\n\n## This is the pre-assignment for Solita Dev Academy Finland 2023.\n* Let's imagine that you have received an interesting project offer to create a UI and a backend service for displaying data from journeys made with city bikes in the Helsinki Capital area.\n\n### The exercise\n* https://github.com/solita/dev-academy-2023-exercise\n\n\n## Technologies:\n\n* ReactJs\n* NodeJs with Express\n* Docker\n* PostgreSQL\n* PgAdmin\n* Tailwind CSS\n\n## How to use:\n\n\u003cdetails\u003e\n\t\u003csummary\u003ePrerequisites\u003c/summary\u003e\n\n* You must have Docker installed and running on your computer:\nhttps://docs.docker.com/get-docker/\n\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n\t\u003csummary\u003eConfigurations\u003c/summary\u003e\n\n* Rename 'SOLITAenv' file in server folder to '.env'\n\t* Change POSTGRES_USER, POSTGRES_PASSWORD, PGADMIN_DEFAULT_EMAIL and PGADMIN_DEFAULT_PASSWORD to whatever you want\n* Change the \"Username\" in db/servers.json file to same than your POSTGRES_USER in your .env file\n* Insert your Google Maps Api Key in FRONTENV file in your client folder and rename 'FRONTENV' to '.env'\n\t\n\u003cdetails\u003e\n\t\u003csummary\u003e To obtain a Google Maps API key, you need to follow these steps: \u003c/summary\u003e\n\t\n* Go to the Google Cloud Console (https://console.cloud.google.com/).\n* If you don't have a project yet, create one by clicking the \"Select a Project\" dropdown menu and then clicking the \"New Project\" button.\n* Once you have a project, click on the project name to go to the project dashboard.\n* In the left sidebar, click on \"APIs \u0026 Services\" and then \"Credentials.\"\n* On the Credentials page, click on \"Create credentials\" and select \"API key.\"\n* Copy the API key from the \"API keys\" section.\n* Note that you may need to enable the Google Maps API for your project before you can create an API key. You can do this by clicking on the \"Library\" tab in the \"APIs \u0026 Services\" section and searching for the Google Maps API you want to use (e.g. \"Maps JavaScript API,\" \"Places API,\" etc.). Once you find the API, click on it and then click the \"Enable\" button.\n\t\u003c/details\u003e\n\nAlso, keep in mind that some APIs may require billing information and a payment method to be set up before you can use them.\n* Unzip all the .zip files in db/journey_data folder to the same folder\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eHow to run\u003c/summary\u003e\n\n* Open terminal in to the projects root folder and: 'docker-compose up' and wait a couple of minutes that everything is up and running.\n* Open your browser and:\n\t* Frontend: http://localhost:3000\n\t* Backend: http://localhost:3001\n\t* Database: http://localhost:8080\n\t\t* Login to pgAdmin with your credentials (email and password from your .env file)\n\t\t* Tables are in: Server Group 1 =\u003e myProject =\u003e Schemas =\u003e public =\u003e Tables\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eTests\u003c/summary\u003e\n\n## Using Cypress for end to end testing for this project\n### First have the app up and running\n* Running Cypress on the background\n\t* Open new terminal in the frontend folder =\u003e npm run cypress:open\n\t* New window pops up. Choose E2E Testing =\u003e Choose your browser (Chrome) =\u003e run the tests by clicking test file\n### Or\n* Running all the tests at once\n\t* Open new terminal in the frontend folder =\u003e npm run test:e2e\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freijjo%2Fsolita","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freijjo%2Fsolita","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freijjo%2Fsolita/lists"}