Code Monkey home page Code Monkey logo

bibliotech-frontend's Introduction

BIBLIOTECH

React Frontend

This is the frontend of the Bibliotech application, built with VITE and React. To use it, you need to have the Laravel backend running. The backend repository can be found at: https://github.com/XlHader/Bibliotech.

After running the Laravel migrations, you can use the following test user to log in:

Email Password
[email protected] Admin123!

Installation

1. Clone the Git Repository

To get started with the installation of the application, you will first need to clone the Git repository. You can do this by running the following command in your terminal:

git clone https://github.com/XlHader/Bibliotech-frontend

2. Environment Variables

You will need to create an .env.local file in the root of the project, and set the following environment variable:

VITE_BASE_URL=http://localhost:8000
# ONLY USE VITE_ PREFIX VARIABLES
# Variables that do not start with the prefix "VITE_" will not be recognized by Vite

3. Install Dependencies

You will need to have Node.js and npm installed on your machine. You can download Node.js from the following link: https://nodejs.org/en/download/

Once you have Node.js installed, you can install the dependencies by running the following command in your terminal:

npm install

4. Run the Application

You can run the application by running the following command in your terminal:

npm run dev

The application will be running on http://localhost:5173

5. Build

You can build the application by running the following command in your terminal:

npm run build

Usage

Once the application is running, you can interact with the Bibliotech API by using the interface provided by the frontend.

bibliotech-frontend's People

Contributors

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