Skip to content

Latest commit

 

History

100 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BON' API

PHP Version

Make sure you have the php version 8.0

$ php -v

Install local API

1. Install dependencies (with composer)

cd api
php composer.phar install

2. Create / Import dump

CREATE DATABASE bon_api_php CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

Then you have to import dump located here: dump/bdd.sql

3. Edit your db info

  • Copy and rename api/dbConfig.example.php in api/dbConfig.php
  • Edit api/dbConfig.php with your DB info

4. Run the php server

php -S localhost:8000 -t api/public

Install local front (Next.JS)

1. Install packages

cd front
npm install

2. Run front

npm run dev

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages