Giter Club home page Giter Club logo

kedai_anime-react-'s Introduction

Feature 👀

  • Responsive
  • Cancel Request
  • Friendly UI/UX
  • Easy Dashboard Backend(Admin)

Starter Pack 📦

(Server Side)

  1. cd Server
  2. npm install
  3. node index.js

(Client & Admin Side)

  1. cd Client
  2. npm install
  3. npm start

Instructions 📓

  1. Open your phpmyadmin,add new databse
    -anime
    -anime_download

  2. Open the "config > config.json" folder and you will see the code as below
    {
           "development": {
                 "username": "root", // Put your username database
                 "password": null, // Put your password database
                 "database": "anime",
                 "host": "localhost",
                 "dialect": "mysql"
           }
    }

  3. In terminal "Server" run code "npx sequelize-cli db:migrate"

  4. Delete all file in migrations folder,and add the new file with name "Link_Download.js"

  5. Add this code in file "Link_Download.js"

       'use strict';
       module.exports = {
             up: (queryInterface, Sequelize) => {
                  return queryInterface.createTable('download', {
                         id : {
                               type : Sequelize.INTEGER,
                               primaryKey : true,
                               autoIncrement : true
                         },
                        link_1 : {
                              type : Sequelize.STRING,
                               allowNull : true,
                               defaultValue : null
                         },
                         link_2 : {
                              type : Sequelize.STRING,
                               allowNull : true,
                               defaultValue : null
                         },
                         link_download : {
                              type : Sequelize.STRING,
                               allowNull : true,
                               defaultValue : null
                         },
                         created_at : {
                              type: Sequelize.DATE
                         }
                   });
             },
             down: (queryInterface, Sequelize) => {
                   return queryInterface.dropTable('download');
             }
       };

  1. Change code "config > config.json" file as follows :
    {
           "development": {
                 "username": "root", // Put your username database
                 "password": null, // Put your password database
                 "database": "anime_download",
                 "host": "localhost",
                 "dialect": "mysql"
           }
    }

  2. migrate again,write the code in Terminal "Server" "npx sequelize-cli db:migrate"

Migrations 📖

You can check this documentation https://sequelize.org/master/manual/migrations.html

Yoo,.. 😏

If you :
▶️ get error
▶️ get any idea
▶️ have a suggestion

And that all to improve this project,you can contact me.
im very grateful for your attention for this project 😃

✉️ [email protected]

Happy CODING 😄

kedai_anime-react-'s People

Contributors

soulxin avatar

Stargazers

noob_coder#1 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.