Giter Club home page Giter Club logo

meetupvote's Introduction

MeetupVote

This project was generated with Angular CLI version 18.0.0.

Local development

  • Clone the repository
  • Run npm install to install the dependencies.
  • Install Firebase CLI (https://firebase.google.com/docs/cli), follow the steps to be able to start the local emulators. Run npm run emulators to start them and navigate to http://localhost:4000/.
  • In a separate terminal, run ng serve for a dev server.
  • Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Admin functionalities

In order to access the Admin functionalities (create a new voting, close a voting, etc), you need to create a Firestore database and add a user with the Admin role.

  • Once the Firestore database is created
  • Access with your user (Google or GitHub)
  • Copy the User id from Firebase console in the Authentication panel
  • Go to the Firestore database console and create a users collection.
  • Add a new document inside that collection, using the User id as document identifier and add a field admin with the boolean value true.

For local development, you must follow the same approach with the Firebase Emulators: create fake user, copy the user id, create a new document in the users collection, etc.

Publishing

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Firebase hosting is used to deploy the application. Run firebase deploy to deploy the application to Firebase.

meetupvote's People

Contributors

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