Giter Site home page Giter Site logo

brock-app's Introduction

Brock App

Introduction

Brock App is a modern, full-stack application built with an Expo app for the frontend and a Node.js API for the backend. The Expo app provides a user-friendly interface for end-users, while the API handles data processing and serves as the backend logic of the application.

Table of Contents

  1. Introduction
  2. Tech Stack
  3. Prerequisites
  4. Setup Instructions
  5. Deploying to Koyeb
  6. Project Structure
  7. Contributing
  8. License

Tech Stack

  • Frontend: Expo (React Native)
  • Backend: Node.js, Express
  • Database: Prisma
  • Hosting: Koyeb

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js and npm installed on your local machine
  • An Expo account and the Expo CLI installed
  • A Koyeb account
  • (Specify other prerequisites if needed)

Setup Instructions

  1. Clone the repository:

    git clone <repository-url>
    cd brock-app-master
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    Copy the .env.example file to .env and fill in the required variables.

    cp .env.example .env
  4. Run the API:

    cd apps/api
    npm start
  5. Run the Expo app:

    Open a new terminal window and navigate to the project root.

    cd apps/expo
    expo start

Deploying to Koyeb

  1. Sign in to your Koyeb account.

  2. Create a new app:

    • Click on "Create App".
    • Choose "GitHub" as the source and select the repository.
  3. Configure build settings:

    • Build Command: npm install && npm run build
    • Start Command: npm start
  4. Set environment variables:

    Add the environment variables from your .env file in the Koyeb dashboard.

  5. Deploy the app:

    Click on "Deploy" to start the deployment process. Once the deployment is complete, your app will be live.

Project Structure

The project is organized into the following directories:

  • apps: Contains the main applications (API and Expo).
    • api: The backend API built with Node.js and Express.
    • expo: The frontend mobile application built with Expo.
  • packages: Shared packages and modules used by the applications.
  • tooling: Configuration and scripts for development and deployment.

Contributing

We welcome contributions! Please read our Contributing Guidelines before submitting a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

brock-app's People

Contributors

ig4e avatar elghamazy avatar turbobot-temp avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

elghamazy

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.