Giter Club home page Giter Club logo

revive-test-project's Introduction

This is a Next.js project bootstrapped with create-next-app.

Getting Started

After, cloning this repository we need to setup firebase console.

  • You can follow this guide on how to setup your firebase project.
  • After setting up your firebase project, generate admin sdk keys to be used on the API end of this application. You can follow this guide on how to generate and export sdk keys.
  • Create a .env.local file in the root of the solution and add the details of the exported keys ().
  type = <value>
  project_id = <value>
  private_key_id = <value>
  private_key = {"privateKey": <value>}
  client_email = <value>
  client_id = <value>
  auth_uri = <value>
  token_uri = <value>
  auth_provider_x509_cert_url = <value>
  client_x509_cert_url = <value>
  • Next would be to create a Web App on your firebase project, To do this go to Project Settings and on the bottom part of the page click Add App and select Web.
  • Follow thru the guide then in the end you would be provided app keys to be added to our .env.local as well.
  NEXT_PUBLIC_API_KEY = <value>
  NEXT_PUBLIC_AUTH_DOMAIN = <value>
  NEXT_PUBLIC_PROJECT_ID = <value>
  NEXT_PUBLIC_STORAGE_BUCKET = <value>
  NEXT_PUBLIC_MESSAGING_SENDER_ID = <value>
  NEXT_PUBLIC_APP_ID = <value>

  • Lastly add a reference user_count document id on .env.local.
  count_document_id = uftFc0QPeHTpiwoceUEt

-Run the development server:

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

revive-test-project's People

Contributors

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