Code Monkey home page Code Monkey logo

o-children-api's Introduction

GitHub contributors GitHub forks GitHub stars GitHub issues GitHub GitHub last commit

O'Children (Backend & API)

An educational site for children.

Table of Contents

About The Project

O'Children backend ScreenShot

The objective of this project was to develop an educational site.

  • Context : end of training project.
  • Duration : 4 weeks
  • Team : 1 backend developer and 3 frontend developers
  • Tasks :
    1. API
    2. Admin interface

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

Installation

  1. Clone this repo to your local machine using

    git clone https://github.com/Grandpere/O-Children-API.git
  2. Install composer dependencies

    composer install
  3. Copy .env to .env.local or create one

    cp .env .env.local
  4. Update DATABASE_URL in this file with your credentials informations

    DATABASE_URL=mysql://YOUR_USER:[email protected]:3306/YOUR_DBNAME`
    
  5. Create database with Doctrine

    php bin/console doctrine:database:create
  6. Make migrations

    php bin/console doctrine:migration:migrate
  7. Loading fixtures

    php bin/console doctrine:fixtures:load
  8. Generate keys for JWT

    mkdir -p config/jwt # For Symfony3+, no need of the -p option
    openssl genrsa -out config/jwt/private.pem -aes256 4096
    openssl rsa -pubout -in config/jwt/private.pem -out config/jwt/public.pem

    More information

  9. Configure JWT

    โš ๏ธ put your pass_phrase (previous step) in .env.local to be able generate token

    More information

Roadmap

See the open issues for a list of proposed features (and known issues).

๐Ÿ‘ท Add docker for easier installation and prevent missing dependencies
๐Ÿ‘ท More improvements...

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the LGPL-3.0 License. See LICENSE for more information.

Contact

@LMarozzo

https://github.com/Grandpere/O-Children-API

Acknowledgements

Frontend repository

Frontend repository

o-children-api's People

Contributors

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