Coder Social home page Coder Social logo

chanksela / coronatime Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 959 KB

Second project I did at redberry bootcamp

Home Page: https://coronatime.kakha-chankseliani.redberryinternship.ge/login

Shell 0.74% PHP 81.37% JavaScript 0.51% CSS 0.04% Blade 17.34%

coronatime's Introduction

Movie Quotes Assignment

Second assignment in Redberry bootcamp. This is a corona statistics website, where you can register and see daily statistics of corona around the world.

Table of Contents

Prerequisites

  • PHP
  • NPM
  • Composer
  • Mysql
  • Spatie

Tech Stack

  • Laravel 9
  • CS Fixer
  • Tailwind
  • Spatie Translatable

Start Locally

1. Clone git repository:

git clone https://github.com/RedberryInternship/kakha-chankseliani-coronatime.git

2. Install composer & npm dependencies

composer install
npm install

3. Create database

create database DB_NAME;

4. Copy env.example in .env and generate key

cp .env.example .env
php artisan key:generate

5. Change this fields in .env to connect to your database and enable mail services

DB_CONNECTION=mysql

DB_DATABASE=DB_NAME
DB_USERNAME=USERNAME
DB_PASSWORD=PASSWORD

MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT= /YOUR SETTINGS/
MAIL_USERNAME=/YOUR SETTINGS/
MAIL_PASSWORD=/YOUR SETTINGS/
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=/SENDER EMAIL NAME/
MAIL_FROM_NAME="${APP_NAME}"

6. Migrate tables & fetch data from api

php artisan migrate
php artisan fetch:countries

OPTIONAL - you can run php artisan schedule:work after this to automaticly update statistics every day

php artisan schedule work

7. Run the server

npm run build
php artisan serve

8. Register and verify user to see the statistics

coronatime's People

Contributors

chanksela 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.