Skip to content
/ gtok Public

Sample web application on gtok community, developed as a task for an interview.

Notifications You must be signed in to change notification settings

Pranav016/gtok

Repository files navigation

Gtok

Demo-

demo

Environment setup-

  • Drop a ⭐ on the GitHub repository.

  • Download Git (when you install Git, Git Bash also gets installed by default)

  • Download and install a code/ text editor.

  • Download Node Js and npm(Node package manager) (when you install Node, npm also gets installed by default)

  • This project uses YARN as package manager thus install YARN using npm to run the application.

  • Clone the repository by running command

git clone https://github.com/<your user-name>/gtok.git

in your git bash.

  • Run command cd gtok.

  • Run this command to install all dependencies for the project.

yarn install
  • Make account on Firebase and setup a Firestore database.

  • Add API keys for connecting to the database.

    • Run this command when inside the root directory to make a .env file.
    touch .env
    
    • Now add your API keys from Firestore to the .env file in this format-
    PORT=3000
    HOST=localhost
    HOST_URL=http://localhost:3000
    API_KEY=<Your-Firestore-credentials>
    AUTH_DOMAIN=<Your-Firestore-credentials>
    PROJECT_ID=<Your-Firestore-credentials>
    STORAGE_BUCKET=<Your-Firestore-credentials>
    MESSAGING_SENDER_ID=<Your-Firestore-credentials>
    APP_ID=<Your-Firestore-credentials>
    SENDER_EMAIL=<your-email>
    SENDER_PASSWORD=<password-for-your-email>
    
  • Run this command to start the project.

yarn start

or

  • Run this command to start the project as a developer.
yarn run dev
  • Open link to view the website in your browser window if it doesn't open automatically.
http://localhost:3000/
  • Now you are all set to use this project.

About

Sample web application on gtok community, developed as a task for an interview.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published