Skip to content

Centralised place for information of what's happening in the city of Turku

License

Notifications You must be signed in to change notification settings

Dataatti/turku-sovellus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turku application

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.

Tech Stack

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.

How to run

Installation

Clone the repository

  git clone https://github.com/Dataatti/turku-sovellus.git

Change to the project directory

  cd turku-sovellus

Application

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.

Content management System

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

About

Centralised place for information of what's happening in the city of Turku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •