Code Monkey home page Code Monkey logo

powder's Introduction

Powder

Website built to showcase the Jinx Framework using HTML, Tailwind CSS, and Jinx (PHP).

This project will be built in unison with the Jinx Framework to showcase improvements, features, bug fixes, and more as the framework evolves.

Usage

After cloning the repository, all you have to do is install the dependencies and run a local server.

First, install the dependencies (Jinx):

composer install

Make sure you have all migrations applied and a MySQL database available (I prefer XAMPP & TablePlus for quickly configuring and editing databases):

php migrations.php

After everything is installed and configured, you can run a local server:

php -S localhost:8080

NOTE: You must be in the public/ directory for to properly serve the files.

Docker

You can also run the project by using Docker:

./docker.sh

Now you can open a browser and check out the website using Docker:

http://localhost:8080

If you're interested in configuring the SQL database to actually interact with the website, you can do so by running the sql_migration.sh script like so:

./scripts/sql_migration.sh

This will populate the Docker SQL database with the correct table for Powder.

I'd like to eventually rewrite this in React/TypeScript, but for now, it's in HTML to allow the most flexibility with testing framework changes.

NOTE: While Jinx does have some session/cookie functionality, it may not be the best solution available. An easy workaround is to either clear all cache for localhost:8080 for major changes (i.e DB edits, etc.) or run the website in a private browser session which will clear all cache on close.

powder's People

Contributors

azazelm3dj3d avatar

Watchers

 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.