Skip to content
forked from haitiansintech/Vwa

This website was developed as an open-source project with the aim of informing and mobilizing Haitians.

License

Notifications You must be signed in to change notification settings

rovaldycode/Vwa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vwa

An open source application built to inform and mobilize Haitians.

About this project

This project as an experiment to see how we can mobilize Haitains to engage in civics. The starting point of the app was forked form an OSS Next.js project called Taxonmy. The base fork provided features like authentication, subscriptions, API routes, static pages for docs ...etc.

Note on Performance

Warning This app is forked from a base that uses the unstable releases for Next.js 13 and React 18. These features are now available in Next.js 14 and we should at some point consider doing a migration. Expect some performance hits when testing the dashboard (The dashboard part of the app is not yet being used.).

Features

  • New /app dir,
  • Routing, Layouts, Nested Layouts and Layout Groups
  • Data Fetching, Caching and Mutation
  • Loading UI
  • Route handlers
  • Metadata files
  • Server and Client Components
  • API Routes and Middlewares
  • Authentication using NextAuth.js
  • ORM using Prisma
  • Database on PlanetScale
  • UI Components built using Radix UI
  • Documentation and blog using MDX and Contentlayer
  • Subscriptions using Stripe
  • Styled using Tailwind CSS
  • Validations using Zod
  • Written in TypeScript
  • i18n ready

Roadmap

  • Planned Features
  • []
  • Preloaded Features
    • Add MDX support for basic pages
    • Build marketing pages
    • Subscriptions using Stripe
    • Responsive styles
    • Add OG image for blog using @vercel/og
    • Dark mode

Known Issues

A list of things not working right now:

  1. GitHub authentication (use email)
  2. Prisma: Error: ENOENT: no such file or directory, open '/var/task/.next/server/chunks/schema.prisma'
  3. Next.js 13: Client side navigation does not update head
  4. Cannot use opengraph-image.tsx inside catch-all routes

Running Locally

  1. Install dependencies using pnpm:
npm install
  1. Copy .env.example to .env.local and update the variables.
cp .env.example .env.local
  1. Start the development server:
npm run dev

Contributors

License

Licensed under the MIT license.

About

This website was developed as an open-source project with the aim of informing and mobilizing Haitians.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 74.3%
  • MDX 21.8%
  • JavaScript 2.7%
  • CSS 1.2%