Code Monkey home page Code Monkey logo

kidstories-hng6's Introduction

Kidstories

Kid Stories

Guide to Contribute

  1. Fork the repo to your GitHub account
  2. Clone to repo to your local
  3. Checkout BE
git checkout BE
  1. Set up your project. (See the Initial Set Up section below)
  2. Make your changes
  3. Push your changes to your repo
  4. Make a PR to the project repo, select compare across forks
  5. In the dropdown section, select the BE branch
  6. Make the PR

Initial Set Up

  1. Create .env file by running; create .env.example file manually if not found
cp .env.example .env
  1. Install dependencies
composer install
  1. Update .env with your database details
DB_DATABASE=YOUR_DATABASE_NAME
DB_USERNAME=YOUR_DATABASE_USERNAME
DB_PASSWORD=YOUR_DATABASE_PASSWORD
  1. Generate laravel application key
php artisan key:generate
  1. Migrate tables
php artisan migrate
  1. Create encryption keys for Laravel Passport
php artisan passport:install
  1. Start server
php artisan serve
  1. Test to see if API is up. Launch Postman or Insomia and send a GET request to
http://localhost:8000/api/v1/test

You should get a response:

{
  "message": "You are set!"
}

kidstories-hng6's People

Contributors

kevchikezie avatar ephraimdev avatar makos24 avatar tuck183 avatar daudongit avatar neydoo avatar prof-anis avatar ebereuzodufa avatar psalmfill avatar heniisbaba avatar lord-jerry avatar iwa-temmy avatar dokoede avatar akinduko avatar mrphemi avatar olaysco avatar rammyblog avatar believeohiozua avatar buka4rill avatar somtochiama avatar dolapo-mosuro avatar westernwells avatar

Watchers

James Cloos 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.