Code Monkey home page Code Monkey logo

happy's Introduction

Logo

Happy App

Version-1.0 Desktop-finished Mobile-finished Lincense

This site was created during Next Level Week #3 powered by Rockseat.

🇺🇸English · 🇧🇷Portuguese

🗂 Table of Contents

📖 About The Project

Happy is a website created in Next Level Week #3 powered by Rockeseat. This site connect people who want to visit orphanages. The application allows orphanages self register, informing opening hours, rules and location. And user can make a appointment to visit children and see the orphanages' location.

Landing page

🎨 Layout

You can acess the project's layout in links below:

🚨 You need have a Figma account to acess the layout.

💻 Technologies

✨ Features

  • Desktop Version
  • Mobile Version

🧱 Installation

This project use Node.js and Yarn, you will need them to build its dependencies.

🚧 Prerequisites

Clone this project repository:

$ git clone https://github.com/3salles/Happy.git

#Enter in `Happy` folder:

$ cd Happy

🚨 If you don't have git in your machine, you can install it here.

💄 Front-end

🚧 Installing Dependencies

In Happy folder, open web folder:

$ cd web

# And install dependencies by the following command:

$ yarn install

🔧 Setting Front-end

To use Mapbox you must have a Token acess. Create a account and take your token acess. Go to OrphanagesMap.tsx and change REACT_APP_MAPBOX_TOKEN with you token acess in the following line:

<TileLayer url={`https://api.mapbox.com/styles/v1/mapbox/outdoors-v11/tiles/256/{z}/{x}/{y}@2x?access_token=${process.env.REACT_APP_MAPBOX_TOKEN}`} />

▶️ Running Front-end

Run the following comand to see the application:

$ yarn start

The application will be avaible on http://localhost:3000/.

🚨 Remember to start the backend!

🗄️ Back-end

🚧 Instalando Dependências

Inside Happy folder, open backend folder:

$ cd backend

# Install dependencies woth following comand:

$ yarn install

🔧 Setting Back-end

Create database tables with following comand:

$ yarn typeorm migration:run

# If you want to drop the database tables:

$ yarn typeorm migration:revert

▶️ Running Back-end

Run following comand to start back-end:

$ yarn dev

The Application will be avaible on http://localhost:3333/.

⚠️ Modify LOCALHOST variable address to your network address in images_views.ts archive:

    return {
      id: image.id,
      url: `http://LOCALHOST:3333/uploads/${image.path}`,
    };

📱 Mobile

This project uses Expo, install it before go to next step.

🚧 Installing Dependencies

Inside Happy folder,open mobile folder:

$ cd mobile

# Install dependencies with following comand:

$ yarn install

▶️ Running Mobile

Run mobile with following comand:

$ expo start

# If you want to use yarn:

$ yarn start

The application will open a window in your browser. If you want to use your mobile to run the application, just use the QR code. If you want to run in your desktop, read how to use Android emulator or iOS emulator.

📄 License

This project uses MIT lincense.

👩‍💻 Author

Github LinkendIn Gmail

Developed with 💜 by Beatriz Salles

happy's People

Contributors

3salles avatar

Stargazers

 avatar

Watchers

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