GithubHelp home page GithubHelp logo

afterhours's Introduction

afterhours

Getting Started

You need latest Node.js.

Installation

  1. Clone the repository:
    git clone https://github.com/rbanta1242/afterhours.git
    cd afterhours
  2. Install dependencies:
    npm i

Usage

npm start

Set up Cloud Firestore

This project uses Google Cloud Firestore to save user data.

Follow these steps to get started with Google Cloud Firestore:

  1. Create a Gmail Account:

    If you don't have a Gmail account, create one here.

  2. Access Google Firebase Console:

    Log in to the Google Firebase Console using your Gmail account.

  3. Create a Project:

    Within the Firebase Console, create a new project under the free tier plan.

  4. Register Your Web App:

    • In the Firebase Console, navigate to "Project Configuration" and select "Your apps."
    • Register your web app and note down the credentials displayed after registration.
  5. Set Up Firestore Database:

    • In the Firebase Console, go to Firestore Database.
    • Create a new database and configure the security rules. Use the following security rule as an example:
    match /users/{documents=*} {
        allow read, write: if true;
    }
  6. Create an .env file in the project root directory and set the environment variables:

REACT_APP_FIREBASE_API_KEY= <api key>
REACT_APP_FIREBASE_AUTH_DOMAIN= <auth key>
REACT_APP_FIREBASE_PROJECT_ID= <project id>
REACT_APP_FIREBASE_STORAGE_BUCKET= <storage bucket uri>
REACT_APP_FIREBASE_MESSAGING_SENDER_ID= <messaging sender id>
REACT_APP_FIREBASE_APP_ID= <app id>
REACT_APP_SECRET_KEY= <app secret key>

Project Structure

  • src - This folder contains the source code of the application. You can modify the entrypoint component file App.tsx according to your needs.
  • public - Store any additional assets, such as images and stylesheets, in this directory.

Design created by Elevated

afterhours's People

Contributors

rmvs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.