Skip to content

document10/deno-fresh-notes-app

Repository files navigation

Deno Fresh Notes App

This is a notes app created using Deno and Fresh. The app implements various concepts of web apps:

  • Frontend created using Fresh, for lightning-fast load times
  • Backend REST API using Prisma for basic CRUD operations on a database and file downloads
  • Modern and responsive design using TailwindCSS
  • All written in Typescript for seamless development

Screenshots

Main Interface Edit note

Installation

  1. Install dependencies

Make sure you have Deno installed and at its latest version.

git clone https://github.com/document10/deno-fresh-notes-app
cd deno-fresh-notes-app
deno install --allow-scripts
  1. Configure database

Update prisma/schema.prisma and example.env according to your database and rename example.env to .env.

Migrate the database and generate the client:

deno run db-setup

You can also use this command to manually generate the client if the previous command failed to generate it or you changed your settings:

deno run db-client
  1. Launch the server
deno run start
  1. (Optional) Set up optimized build
deno task build
deno run compile
./build/deno-fresh-notes-app

Notes

  • The app was built in two days, so there is room for improvement.
  • There were cases where I had to use workarounds for Fresh's limitations.
  • Nonetheless, I still beleive this is a good demo for those looking into using Deno and Fresh for serious projects.

Releases

No releases published

Packages

No packages published