Turku application is a centralized place to for information considering the city of Turku.
The application offers information of what's happening in the city for city residents, companies and other actors. The application is built based on open data and combines information from multiple sources.
The application is built with TypeScript, React and Next.js.
The user interface of the application is styled using MUI components.
Content management system is done with Strapi.
Clone the repository
git clone https://github.com/Dataatti/turku-sovellus.git
Change to the project directory
cd turku-sovellus
Change directory to client
cd client
Install project dependencies based on lockfile
npm ci
Run the development server
npm run dev
Open http://localhost:3000 with your browser to see the result.
Docker is needed to run Strapi. It can be downloaded from here: https://www.docker.com/get-started
Change directory to /strapi
cd strapi
Create .env
file by copying .env.example
cp .env.example .env
Build and run project with docker compose
docker-compose up --build -d
Navigate to localhost:1337/admin
and create secure credentials
After logging in navigate to Settings -> Internalization
Create locale for Finnish (fi)
and Swedish (sv)
Now you're ready to manage content in Content manager and your Strapi server is available at localhost:1337
.
To stop strapi run docker-compose down