Skip to content
M ABD AZIZ ALFIAN edited this page Oct 18, 2018 · 17 revisions

Documentation

Welcome to the reSlim Documentation

Note:
reSlim documentation will always be updated and may change at any time

Learn more deep

* Learn from test router

We created several simple function on the test.router.php which is located at src/router/.
You can learn from there

* Use Postman for learn or test purpose

I recommend you to use PostMan an add ons in Google Chrome to get Started with test.

  1. Import reSlim.sql in your database then config your database connection in config.php inside folder reslim/src/
  2. Import file reSlim.postman_collection.json in your PostMan. File is located at reslim/resources/postman directory.
  3. Edit the request path in PostMan. Because the example test is using my path server which is my server is run in http://localhost:1337 The path to run reSlim is inside folder api.
    Example for my case is: http://localhost:1337/reslim/src/api/

    In short, It's depend on your server configuration.
  4. Then you can do the test by yourself

* Learn Slim Framework 3

reSlim is based from Slim Framework 3.
Learning Slim Framework 3 will make you easy to understand about reSlim project.

* The concept authentication in reSlim

  1. Register account first
  2. Then You have to login to get the generated new token

The token is always generated new when You relogin and the token is will expired in 7 days as default.
If You logout or change password or delete user, the token will be clear automatically.

* Default superuser account:

Username : reslim  
Password : reslim

System Requirements

  1. PHP 5.5 or newer (last tested on PHP7.3)
  2. MySQL 5.6 or MariaDB
  3. Web server with URL rewriting
  4. Apache or NGINX Server

Extensions:

  • Modules
    Here is the available modules created by reSlim author >> reSlim-modules.

  • UI Boilerplate
    Here is the basic UI template for production use with reSlim >> reSlim-ui-boilerplate.