Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markusthielker/portfolio
🧑🏻💻 The source code to my website/blog thielker.dev
https://github.com/markusthielker/portfolio
docker postgres prisma showdown sveltekit tailwindcss
Last synced: 18 days ago
JSON representation
🧑🏻💻 The source code to my website/blog thielker.dev
- Host: GitHub
- URL: https://github.com/markusthielker/portfolio
- Owner: MarkusThielker
- License: mit
- Created: 2023-04-10T15:32:14.000Z (over 1 year ago)
- Default Branch: development
- Last Pushed: 2024-01-19T23:45:05.000Z (11 months ago)
- Last Synced: 2024-12-01T07:05:02.482Z (23 days ago)
- Topics: docker, postgres, prisma, showdown, sveltekit, tailwindcss
- Language: Svelte
- Homepage: https://thielker.dev
- Size: 592 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Portfolio
This repository contains the source code of my portfolio/blog which is currently under active development.
# Getting started
1. Start the PostgreSQL database. It will be the backbone of our application and locally available on port 5432. The
setup is provided using docker. The credentials can be found in the docker-compose.yaml file.
```shell
docker compose -f docker/portfolio-dev/docker-compose.yaml up -d
```2. Install the npm dependencies:
```shell
npm install
```3. After installing the dependencies, you need to apply the database migrations and generate the prisma client.
The initial migrations set up the database scheme for the Lucia authentication. Prisma then generates the client
based on the database model to provide typed access to the database.
```shell
npx prisma migrate deploy # apply the database migrations
npx prisma generate # generate the prisma client
```4. Finally, start the development server:
```shell
npm run dev
```Now open [localhost:3000](http://localhost:3000) and start editing!