Skip to content

📝 ✔️ An application development in Next Level Week Together.

License

Notifications You must be signed in to change notification settings

Luciano-Ferreira/letmeask

Repository files navigation

letmeask


Status GitHub Issues GitHub Pull Requests Deploy to Firebase Hosting on merge License


Every question has a answer. Written in Reactjs with Firebase.

📝 Table of Contents

🎈 Usage

demo-web

🏁 Getting Started

To run the project on your machine you will need to create a project in firebase with your google account.

The features you will configure are real time:

  • Real time database.

And if you want to deploy the application:

  • Hosting

After configuring the real time database it is necessary to apply these rules:

{
  "rules": {
    "rooms": {
      ".read": false,
      ".write": "auth != null",
      "$roomId": {
        ".read": true,
        ".write": "auth != null && (!data.exists() || data.child('authorId').val() == auth.uid)",
        "questions": {
          ".read": true,
          ".write": "auth != null && (!data.exists() ||data.parent().child('authorId').val() == auth.uid)",
          "likes": {
            ".read": true,
            ".write": "auth != null && (!data.exists() || data.child('authorId').val() == auth.uid)",
          }
        }
      }
    }
  }
}

Learn more

Prerequisites

Before you begin, you will need to have the following tools installed on your machine: Git, Node.js and a package manager Yarn or npm.

Installing


# Clone this repository
$ git clone https://github.com/Luciano-Ferreira/letmeask.git

# Access the directory
$ cd letmeask

# Install all dependencies
$ yarn 
# or
$ npm install

configure the local environments .env.local. The variables will be shown right after the configuration in firebase

# Run the application in dev mode
$ yarn start
# or
$ npm run start

# The application start in http://localhost:3000

⛏️ Built Using

🤔 Development tips

  • child added

  • dark theme

  • PWA

  • responsiveness

  • other databases (supabase, faunadb, firestore)

  • styled components

  • ESLint, prettier

📝 License

This project is under the MIT license. See the LICENSE for more information.


Made with ♥ by @Luciano Silva 👋 Get in touch!

About

📝 ✔️ An application development in Next Level Week Together.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published