GithubHelp home page GithubHelp logo

penkong / any-countries Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.74 MB

graphql fullstack with all good things.

License: MIT License

Makefile 1.08% Shell 0.39% Dockerfile 1.13% JavaScript 2.36% TypeScript 91.27% CSS 3.77%

any-countries's Introduction

Any-Countries

graphql fullstack with all good things.

created by mazdak nazemi.

at first please kindly consider that author has ability to develop in higher quality than this handling errors better in front and back , testing , usage of plain css , sql first approach , context Api , different pacakges and other tech such as nginx , log technics and ...

Development is infinite loop and at each step we can add more and more and many businesses can be add to this source in future because of strong structure we have . thank you for time and consideration . glad to hear from you .

  • please consider fixer.io doesn't provide reuqested functionality anymore for free-tier accounts , I also checked provided key and my registered key . the response pic is in docs folder but whole functionality implemented on backend and if we put correct api_key it will work .

this code base consider to implement code and structures with persistance on future usablitiy

all folders and components naming convension and implementation are base of many best practices in open source world of course it seems over delivary but for our business sturcture is so important and ...

Folder structure :

  • app

    this is nextjs ssr application with usage of redux graphql tailwind css . at first started with usage of whole graphql stacks in front and encountered with some bugs and that need to handle therefore I continue with redux as source of truth . inside that there are normal flow of react base applications . every business and component groups clearly seprated that let this project expandable and reusable for future.

  • api

    nodejs hybrid api with graphql and rest , authentication handle with rest base of request in mail that we need seprate route for /login , fetching countries data handled with graphql rest . a good package with built in cache . in api there are very specific sepration of concern . every business and logic has own folder that let us to use it in another project . many business can delegate to a npm package and let us have thiner application . clean architecture and ...

  • k8s

    will contain all good things for kubernetes , because of some unrelated problems (my location :)) we need add more things for real world .

  • Docker-compose

    will contain all good things for wrap up code base with docker stack tech.

  • docs

    will contain description about project how and what fors ...

  • .github

    ci/cd with github actions .

  • Makefile

    make development easier and let other developer start project easily out of box .


BOOTSTRAP PROJECT :

in root open you terminal

  make postgres

  make createdb

  make migrateUser

  make migrateUp

after top steps cd to app and api and install packages

in 2 seprated terminal in app and api

  npm run dev

fix ormconfig.json path of entities and ...

project bootstraped for development and for production need its own flow .

Glad to hear from you !

kind regards .


ps : app deployed on anyfin.ir , asap api will deploy . because of some local problems :) as I think you know . with node pm2 not other big guys .

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.