Coder Social home page Coder Social logo

families_share_jabbagrulli's Introduction

Families Share Logo

Families Share Platform

Funded under the Information and Communication Technologies programme of Horizon 2020’s Industrial Leadership component, and its call for collective awareness platforms for sustainability and social innovation, the Families_Share project is developing a social networking and awareness-raising platform dedicated to encouraging childcare and work/life balance. The platform capitalises on neighbourhood networks and enables citizens to come together to share tasks, time and skills relevant to childcare and after-school education/leisure, where these have become unaffordable in times of stagnation and austerity.

Families_Share Platform Deployment instructions

Initialization

  • If the user doesn’t have Node.js locally installed on their machine they can get and install the latest version from: NodeJS

  • In addition, the user needs to have a Google account. Any Gmail account is a valid developer account. If they don’t have one, they can create one at: Google Account

  • The user needs to create a new Google project and a service account, as they will need the key from the service account in order to access the Google APIs from their Node.js client. Subsequently they need to enable the Google Calendar API that is necessary for the calendar features of the platform. All the above functionalities can be accessed from Google’s developer console. The following links can act as a guide for the above actions: Google Project, Google Service Account , Google APIs

  • In case the user wants to enable single sign on with Google, which is supported by the platform they will need to create an OAuth client ID from their Google developer console credential’s section. During the creation of the OAuth client ID the user needs to select “Web application” as the type and authorize redirects to http://localhost:4000 and their production server URL in order to use this functionality both in development and production.

  • An additional email account is needed, that will act as the platform’s email account which notifies the users for platform specific events.

  • In case the user wants to enable front-end error logs in production they will need a SENTRY account and a Sentry React project. These canbe created at: Sentry

  • Finally,in case the user wants to opt in for analytics in your production deployment they will need a Google Analytics account. You can create one at : Google Analytics

Deployment

  • At first the user needs a clone of the Families Share repository. They may acquire one from: Code
  • Alternatively, if the user has Git locally installed on their machine, they can run the following command in their terminal:
git clone https://github.com/vilabs/Families_Share-platform
  • After that the user has to install package dependencies both for client and server application by running the following command in the respective folders:
npm install
  • An .env file needs to be created both for the server and client folder (based on the corresponding .env.sample files).
  • In order to run the application in development mode the user needs to run the following command in the projects main folder.
npm run dev
  • In order for the application to run in production mode the user needs to execute the following commands in the client and main folder correspondingly:
npm run build
npm start

Dobbiamo ora startare il react-native client, apriamo un altro terminale, spostandoci sulla directory /client/, eseguiamo npm install come per il backend e npm start per farlo partire. Trattandosi di un framework, ci metterà un po' per partire, nell'attesa andatevi a prendere uno spritz, siete stati bravi ad arrivare fin qui. Se si è aperta una pagina web con la homepage di families_share siete riusciti a far partire il progetto. Creando un account, il server farà il primo inserimento in database e lo schema si creerà in automatico.

families_share_jabbagrulli's People

Contributors

holoki avatar stud-unive-vicky avatar abaesso avatar lauramarti00 avatar

Stargazers

 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.