Giter VIP home page Giter VIP logo

cryptomus's Introduction

Back

Use PHP 8.2

Copy .env.example to .env and enjoy it.

Launch migrations (by default use sqlite database)

./artisan migrate --force

And create user (because frontend need to auth):

./artisan app:register-user {username} {password}

For testing login endpoint use that url:
{{ _.baseUrl }}/api/login

With JSON Body:

{
	"username": "your_username",
	"password": "your_password"
}

Environment example for Insomnia:

{
	"local": {
		"username": "your_username",
		"password": "your_password",
		"url": "http://back.local.dimti.ru"
	},
	"prod": {
		"username": "your_username",
		"password": "your_password",
		"url": "https://api.cryptomus.dimti.ru"
	},
	"username": "{{ _.local.username }}",
	"password": "{{ _.local.password }}",
	"baseUrl": "{{ _.local.url }}"
}

Tests

Run test: ./artisan test

Usefully links

Laravel 11: https://laravel.com/docs/11.x/eloquent-factories
Pest: https://pestphp.com/docs/expectations

Front

NodeJS: lts/hydrogen

Install packages: pnpm install

Use pnpm run postinstall for generate base types

And use pnpm run dev and default address http://front.local.dimti.ru:30412 (DNS ready to localhost)

Demo available here: https://cryptomus.dimti.ru

Usefully links

EP (Element Plus): https://element-plus.org/en-US/component/table.html#table-column-attributes (Releases: https://github.com/element-plus/element-plus/releases)

Starter Kit: https://github.com/element-plus/element-plus-nuxt-starter

$fetch, useFetch: https://nuxt.com/docs/getting-started/data-fetching#fetch

Mobile breakpoints & SSR & isMounted: https://vueuse.org/core/useMounted/#usemounted

Tailwind CSS & Transition duration: https://tailwindcss.com/docs/transition-duration

Front 2

Local address: http://front2.local.dimti.ru:30418

UI: https://ui.nuxt.com

Avatar placeholders: https://place-hold.it/100?text=user

Starter Kit: https://github.com/savokiss/nuxt-ui-starter

cryptomus's People

Contributors

intaitextile avatar

Watchers

Alexander Demidov 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.