Skip to content

Latest commit

 

History

55 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ChatGeePeeTee

CS359 End Semester Project

Contributors

Quick Start

  • Clone the repository
$ git clone https://github.com/HumanChwan/ChatGeePeeTee
  • Move into the repository
$ cd ChatGeePeeTee

Backend

  • Move into the backend folder.
    $ cd backend
  • Install required packages
    $ yarn install
  • Create a file .env, with the following contents:
    PORT=5000
    CLIENT_URL=<enter the frontend dev server url>
    NODE_ENV="development" # would be subject to change
    
    # Database Settings
    DATABASE_URL="mysql://<url-encoded USERNAME>:<url-encoded PASSWORD>@<HOSTNAME>:<PORT>/<DATABASE>"
    
    TOKEN_SECRET="some-super-secret-string"
  • Install MySQL server and MySQL Workbench
  • Create a Database as per the URI set in .env
  • Apply migrations to database by running the following command:
    $ yarn run prisma migrate dev
  • Run the application using:
    $ yarn run dev

About

Has no relation to ChatGPT or any AI model whatsoever.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages