Skip to content

Gatsby-zsc/Pikachu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pikachu

This is a T3 Stack project bootstrapped with create-t3-app.

Important Notes

The environment secrets are temporary for course assignment, not used for production purposes, and are invalidated at any time if abused.

How to run the project

docker compose build
docker compose up

Then it will show that it's listening to the port 3000.

Then we can open http://localhost:3000/ on the browser.

docker-compose

docker-compose

docker-compose

How to begin with the project

  1. run npm install

  2. Please make a copy of .env.example and rename it as .env.

    Then make sure all the fields are filled, such as database url (please read the guidelines below for database installation)

  3. run npm run dev to begin

Database Install

For mac, refer to https://wiki.postgresql.org/wiki/Homebrew

Git

1.1 Git commit message standard

You should follow the Conventional Commits.

If you're using VS Code, there's a good extension.

Common scenes:

chore: update diary
feat: add login page
fix: fix login router
docs: update README.md
build: modify Dockerfile
...

1.2 How to contribute

  1. Create a new branch from main branch:

    git switch -c feature/add-new-component

    for a new feature such as login page, then feature/add-login-page

    for a bug fix, then fix/fix-a-bug,

    for update your diary, then chore/update-diary

  2. When you're ready to push the branch, you can first pull and rebase all the updates from the main branch:

    git switch main
    git pull origin main
    git switch feature/add-new-component
    git rebase main
  3. If there's any conflict, resolve it.

  4. Now push your new branch and create a pull request.

  5. Request a review and wait for the maintainer to review and merge the pull request.

1.3 Git GUI recommendation

https://git-fork.com/

no need to pay

Learn More

To learn more about the T3 Stack, take a look at the following resources:

You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!

About

An event booking platform developed with Next.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published