Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

gocanto/psql-api

Repository files navigation

Simple PSQL API.

Simple Application and API modeling to work with PostgresQL written in PHP.

Installation

This library uses Composer to manage its dependencies. So, before using it, make sure you have it installed in your machine. Once you have done this, you will be able to pull this library in by typing the following command in your terminal.

git clone git@github.com:gocanto/psql-api.git

After you have done this, you will have to populate your environment variables in order for you to connect to your testing server endpoints. You can achieve this by typing the following command in your terminal within your project root folder.

cp .env.example .env

Once you have the newly created file open in your proffered IDE, you can update your database connection values alongside with your app environment mode.

Finally, you might be able to start testing the API by hitting the available endpoints. In order for you to do so, you will need a restfull client to facilitate these tasks, or you can go all in and query from your CLI.

Available Features

  • Create cars.
  • List all cars.
  • Show a given car.
  • Update a given car.
  • Delete a given car.

See more

Contributing

Please feel free to fork this package and contribute by submitting a pull request to enhance its functionality.

License

The MIT License (MIT). Please see License File for more information.

How can I thank you?

Why not star the GitHub repo and share the link for this repository on Twitter?

Don't forget to follow me on twitter!

Thanks!

About

Simple PostgreSQL App and API modeling.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors