Git Product home page Git Product logo

patient-portal's Introduction

finni

New and improved patient portal using workspaces!

Before we start, this project uses pnpm instead of npm.

pnpm is a fast, improved package manager. pnpm creates hard links from the global store to the project's node_modules folders. Hard links point to the same place on the disk where the original files are. You save disk space and it's faster than npm!

  • /server
    • esno (alias of tsx) to build and develop the TypeScript server
    • fastify: Node.js framework to write beautiful async code
    • Prisma: the best experience working with databases while using a declarative schema
    • pm2: manage production node.js clusters and more easily
  • /client
    • vue: one of the top frameworks to build web apps
    • auth0: easy user management and authentication
    • ag-grid: list tabular data with many features like sorting, filtering and more

Scripts

We utilize pnpm workspaces to better unify the CI/CD procedures for the front and backend.

  • pnpm build: To run the builds of the TypeScript API server and Vue 3 front-end
  • pnpm dev: To concurrently run the backend and front-end
  • pnpm start: To run the servers from their production-built mode
  • pnpm prisma:start: Generate the database from the Prisma schema and get it in sync

Getting Started

  • Create the database finnitakehome in PostgreSQL.

  • Install pnpm npm install -g pnpm.

  • Run pnpm install to install all workspace package modules.

  • Copy the .env.template env file from both client/ and server/ to their respective .env files and modify accordingly.

  • Then run pnpm prisma:start to have your database in sync with the Prisma schema.

  • Finally, run pnpm dev and you're good to go.

(Optional): Run pnpm run prisma:seed in /server to generate example data

patient-portal's People

Contributors

naknode avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.