GithubHelp home page GithubHelp logo

pabloflps / rocketseat-nlw6-react Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 257 KB

LetMeAsk React project realized on Rocketseat NLW 6. The link adress to the deployed application is linked below.

Home Page: https://letmeask-nlwtgthr.web.app

HTML 2.02% TypeScript 72.26% SCSS 25.73%
typescript react hooks react-hooks react-context react-context-hooks firebase firebase-auth firebase-realtime-database

rocketseat-nlw6-react's Introduction

LetMeAsk Application

A Simple Q&A Rooms Platform

The repository of the original project is: https://github.com/rocketseat-education/nlw-06-reactjs

This is a simple Q&A (questions and answers) application, developed in the 6th edition of the Next Level Week by Rocketseat (2021).

Technologies:

  • TypeScript;
  • React;
  • Firebase.

Executing the project:

  • First of all, you will need to insert your own Firebase config data.
  • Create an application on Firebase with your Google account and then, copy the Firebase config and paste them on a file named ".env.local" on the project root source. Use the example below as model:
# Firebase Config
REACT_APP_API_KEY=""
REACT_APP_AUTH_DOMAIN=""
REACT_APP_DATABASE_URL=""
REACT_APP_PROJECT_ID=""
REACT_APP_STORAGE_BUCKET=""
REACT_APP_MESSAGING_SENDER_ID=""
REACT_APP_APP_ID=""
  • To install the dependencies, run yarn command;
  • To initialize the project, run yarn start command.

Some Important Informations - Personal

This application project was created by the command above:

  • yarn create react-app letmeask --template typescript will take some time :D

This will create our React App with TypeScript template/integration.

Plus: https://react-hot-toast.com

This site offers an API to get toasts as alert messages.

Deployment

The github checking ".yml" file was automatically generated by the Firebase CLI.

The "run" script in it was - run: npm ci && npm run build, but it resulted as an CI error and "react-scripts": not found, so based on the video:

https://www.youtube.com/watch?v=kLEp5tGDqcI

I fixed the error with the following modifications:

  • Removed - run: npm ci && npm run build and added (on both ".yml" files)
- run: npm install -g yarn
- run: yarn install
- run: yarn build

rocketseat-nlw6-react's People

Contributors

pabloflps avatar

Watchers

 avatar  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.