Skip to content
This repository has been archived by the owner on Nov 10, 2021. It is now read-only.

taisiusyut/taisiusyut

Repository files navigation

Tai siu syut

A project for learning full-stack development

Goal

Status - Stack Preview Description
DONE Server NestJS, Fastify, MongoDB -
DONE Admin Panel NextJS Link login as guest123 and a12345678
DONE Web Client NextJS Link
WIP App React Native, Expo Link

Development

if you are first time clone the project, run

yarn server build
yarn common build

start web development

yarn dev

start app development

yarn dev

Mongodb

Start local mongodb mongodb://localhost:27017/
or create a .env.local file at the project root directory

MONGODB_URI=mongodb://YOUR_MONGODB_URL

Image upload

Currently, images are upload to Cloudinary,
If you are Heroku user, you could enable the Cloudinary Add-ons.

create a .env.local file at the project root directory

NEXT_PUBLIC_CLOUDINARY_API_KEY = <api_key>
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME = <cloud_name>

CLOUDINARY_URL = cloudinary://<api_key>:<api_secret>@<cloud_name>