Coder Social home page Coder Social logo

homeweb-backend's Introduction

FINAL PROJECT INFORMATICS ENGINEER BACHELOR'S DEGREE

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

Is a final project of UOC informatics engineering degree. About web development, this repository is for build docker environment to execute backend of project.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • docker
    • Mac OS X
      brew cask install docker
    • Linux
        sudo apt-get update
        sudo apt-get install docker-ce docker-ce-cli containerd.io
    • Windows

Installation

  1. Git clone

    cd ~/
    git clone https://github.com/imollm/homeweb-backend
  2. Build and deploy

    cd ~/homeweb-backend
    docker-compose up -d
  3. Execute init script

    docker ps

    Copy CONTAINER ID of homeweb-backend_webserver

    docker exec -it <CONTAINER_ID> sh /var/www/html/deploy/init.sh

    This install dependencies and init database, with test data.

Usage

  1. Test with curl

    curl -I http://localhost:8080/homeweb-backend/public/api/properties/index
    HTTP/1.1 200 OK
    Date: Mon, 17 May 2021 15:11:59 GMT
    Server: Apache/2.4.38 (Debian)
    X-Powered-By: PHP/8.0.3
    Cache-Control: no-cache, private
    X-RateLimit-Limit: 60
    X-RateLimit-Remaining: 59
    Access-Control-Allow-Origin: *
    Content-Type: application/json
  2. Test with Postman project

      wget -O ~/tfg-docker-backend/postman.json https://www.getpostman.com/collections/c02928439a50147cc744

    4.3 Open with postman and test it.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License.

Contact

Ivan Moll Moll - [email protected]

Project Link: https://github.com/imollm/homeweb-backend

homeweb-backend's People

Contributors

imollm avatar

Stargazers

 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.