Skip to content

AlexandreBonneau/devSnaps-back

Repository files navigation

DevSnaps (back-end)

Everyday solutions to everyday dev problems

As a developer, I stumble upon dev problems every single day.
Most of the time the fixes are trivial, but in some cases they need a thorough investigation.

In order to keep track of how I solved each of those problems, this application allows to keep track of each 'snap' of code/solution I may have encountered and used.

Technologies

The DevSnaps application is composed of two parts:

This repository DevSnaps-back is the code for the back-end.

Goal of this project

This project has been created to serve as a playground for Nuxt and Vuetify (and Lumen to some extends since it's a bit different than Laravel), and to learn from it.

Be sure to check the code and tell me what can be improved so that we could all learn from you!

Work in progress

Since this is a work in progress, the features for now are pretty bare but more features are in preparation.

Check the project roadmap here.

Build Setup

  1. Clone this repository
git clone https://github.com/AlexandreBonneau/devSnaps-back.git
  1. Install the dependencies
cd devSnaps-back
composer install
  1. Create a database/database.sqlite file to store the Snap data (or use any sql server you'd prefer).
  2. Run the migration
artisan migrate
  1. That's it for the back-end preparation!

If you want to run the DevSnaps application, you need to clone the front-end repo as well then follow the instructions from here.

Note: If you do not want to rename this repo to 'back-end' and put it along the front-end directory, you won't be able to run yarn back from the front-end repo, and can run the back-end server using php -S localhost:4242 -t ./public.

Contributing

I'm open to any critics regarding the code, so please create an issue/pull request if you think any part of it can be improved!

Support

I'll just leave my patreon page link here (I work on AutoNumeric and vue-autoNumeric too for instance), you never know :)

Donate

License

DevSnaps is an MIT-licensed open-source project, feel free to copy/edit/study its code!