GithubHelp home page GithubHelp logo

social-media's Introduction

Mini social network API

THP Badge forthebadge forthebadge

API pour le projet de mini réseau social de la semaine 7 de ✨ THP Next
For educational purpose

Installation | Configuration des autorisations | Endpoints

Salut jeune (ou moins jeune 👴) moussaillon, je te présente la version améliorée (askip) de l'API de mini réseau social de THP.

J'espère que tu en feras bon usage, bon courage 😉

Installation

Avec npm :

git clone [email protected]:Beygs/shmeeter-server.git
cd shmeeter-server
npm i
npm run develop

Avec yarn :

git clone [email protected]:Beygs/shmeeter-server.git
cd shmeeter-server
yarn
yarn develop

Ensuite, tu peux te rendre sur http://localhost:1337/admin dans ton navigateur préféré, créer tes identifiants administrateurs, et c'est parti !

Configuration des autorisations

Une fois l'installation initiale faite, rends-toi dans "Paramètres", puis dans "Rôles & Permissions".

Voici la configuration :

  • Pour le rôle "Authenticated":
    • Dans "Posts" (dans la section "Application"), coche tout.
    • Dans "User" (dans la section "Users-Permissions"), coche "find", "findone", "me", et "updateme".
    • Clique sur "Save".
  • Pour le rôle "Public":
    • Dans "Posts" (toujours dans la section "Application"), coche uniquement "find".
    • Clique sur "Save".

Bravo, la configuration est terminée ! 🎉

Endpoints

Cliquez sur les liens pour plus de détails.

Public

Authentifié

Remerciements

Merci à @alchambron pour l'update de strapi en v4 !

social-media's People

Contributors

beygs avatar felhix avatar polosson avatar dylandor avatar artem-ine 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.