codesydney / marketplace-app-for-good

1 stars 1 forks source link

Marketplace App for Good

1. Welcome and Project Overview

Built with:

Not Yet Implemented

2. Team Introduction

TODO

3. Development Environment Setup

Installing Dependencies

node

We will use the current LTS version of node v20.12.1 (LTS).

https://nodejs.org/en/download

If you do need to manage multiple versions of node consider installing nvm:

pnpm

https://pnpm.io/installation

This project uses pnpm as it’s package manager.

TL;DR - Run npm i -g pnpm to install pnpm.

Docker

https://docs.docker.com/desktop/

The Supabase CLI uses Docker containers to manage the local development stack. We’ll need to install Docker to use a local Supabase environment.

Supabase CLI

https://supabase.com/docs/guides/cli/getting-started

The CLI allows us to setup and run a local development environment, along with performing database management such as database migrations.

No need to install this one, as we will primarily be using npx supabase <command>, but you will need to setup an account and login via your using the Supabase CLI.

NPM Packages

Run pnpm i to install all npm packages.

Setting up env variables

In the root directory, there is a .env.example file. Copy and paste this file as a .env.local file.

By default, this file will allow you to connect to a Local Supabase environment,. Feel free to swap out the Supabase env variables for your own Supabase account / instance.

For the Stripe keys, please contact @davidtaing for test environment keys.

Running the Development Server

Run pnpm dev to start the Supabase local environment and start the Next.js development server.

4. Communication and Collaboration

Communication will mostly be done via the dedicated Discord channel.

For access to the Discord server, please contact @davidtaing

5. Project Codebase

This project was started using one of the Supabase templates, so the project codebase will likely have major changes in the future.

As of the 9th April 2024, we have:

Feel free to add suggestions for how you would like to structure the code. Open to new ideas.

6. Additional Resources

7. Glossary

8. Getting Started Tasks