GithubHelp home page GithubHelp logo

st_app's Introduction

ST_App

Backend

za backend sem uporabil php in mySQL tako kot so bila navodila.

mapo /backend se nato prestavi v strežnik, ki bo gostoval backend.
V mojem primeru je bil to xampp (apache)

Frontend

za frontend pa sem uporabil framework NextJS, ki temelji na React-u z možnostjo SSR (server side rendering).
Za zagon frontenda je potreben Node in yarn.

Preden zaženemo spletni strežnik je potrebno le nastaviti spremenljivke v env datoteki.
Bolj natančno API ključ za google zemljevide (trenutno je nastavljen moj, ki pa se ga seveda lahko uporabi za testiranje)
in url backend serverja (trenutno je nastavljen na http://localhost/backend)

Ko je vse to nastavljeno pa se lahko zažene spletni strežnik.

Preprosto se v konzoli premaknemo v mapo frontend in izvedemo komando yarn install,
nato ko se izvajanje konča izvedemo komando yarn build,
ob koncu pa še yarn start.

Nato se bo na http://localhost:3000 zagnal server, kjer je tudi dostop do strani.

st_app's People

Watchers

Tim Kuhar 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.