Coder Social home page Coder Social logo

cityguide's Introduction

CityGuideProFD1

Server:

Database:

	1. In MSSQL format. you can use sqlizer.com to extract the files and convert them to different formats.
	
	2. It is 5 dollars costlier than MySQL per month. However, the responsiveness is higher when moving from one beacon to another as it downloads the floor plans again and again.  

	3. The cloud DB and The local DB have been connected to the AZURE data studio in the LAB MACOS system. The local can be used as a DEV/TEST system and can be worked on that. 
	
	4. The cloud DB will be mentioned as “TCP:….”, and it will be treated as a production.
	
	5. The Local DB is Dockerized to fit into a Mac environment. 
	
    Backend application for API:

	1. It is in NodeJs and HTML. ProcFile is needed to upload for the cloud server and initialize the application. 
	
	2. DB connection for MySQL also has been created and named “conn with mysql.txt”. The credentials for Heroku and Azure have been provided above. If there is a connection issue, you just want rot go into the heroic account and open account settings. There your DB and application details will be provided. Just copy and paste them directly to your Azure or any studio as needed. 
	
	3. The website cityguide.heroku.com is directly connected to the PROD DB. So it also can be used if we need to add  or modify beacons and groups. You can also use the Azure studio. 
	
	4. The Authenticator app will be in the lab iPhone which is also needed to open the Cloud Heroku application. It is a two-factor authentication for account access.  
	
	5. Steps to upload the backend app and DB to the cloud are, 

https://blog.back4app.com/heroku-deploy-nodejs-app/.

https://devcenter.heroku.com/articles/deploying-nodejs

Also, if you want to create or deploy a new application

You need to use Heroku creates - command - this will create a new git profile.

Everything first needs to be uploaded to Heroku’s git and then will be automatically deployed from there to the server using the CICD method. You can also use your GIT profile if needed. Any changes that were directly changed from your VScode to reflect on the cloud directly.

  1. use GIT

git add .

$ git commit -m "Added a Procfile."

$ heroku login

You need to enter heroic login credentials if prompted. It was given above.

Heroku create - if you are creating a new profile.

Else

git push heroku main - command

heroku ps:scale web=1 - command to check the instance

Before trying to upload, please neglect the NPM package files as they will be prebuilt and prepopulated for all applications. You will need it only when working locally.

Also, try flushing out the previous instances and jobs using the commands npm flush, npm install, and npm inspect.

It is uploading the API and DB only and not the mobile app. The mobile will be moved to the App Store later and can be downloaded by anyone. For now, you need to run it from your lab system or any Mac system.

    Mobile application:
	With the past application that was created by Taha, the recent additions were
  1. Exits view controller - class - to sort down the entrances and exits of the building you are in.

  2. The application has been turned into an MVC pattern so that, you just want to access the main pages and its files for Contacts, settings, and HomeScreen. If you wanna go deeper, then you can use the support files where the function calls are being called and the instructions are generated.

  3. Rating control - class - for the users to provide feedback on the application.

  4. Database - you can change the PROD and PROD and DB connection.

  5. EnterContact VC1, 2, 3 - classes - they were previous contacts pages, where the contact name and contact phone number will be stored and will be accessed via buttons in the contact screen. In progress- I am trying to store a lot of contacts and have 2 buttons to delete and default the option. This one was unable to be completed now.

  6. Profile VC - class - I have created this as a new class, because in the future if we create this application for each profile. user and if we wanna store their credentials, to the DB. These profile settings can be used to find them uniquely.

  7. Custom pop-up view controller - just a pop view-like alert - it was created as a template that will be shared throughout the application.

  8. FirstscreenVC - class - new class to get the user category of the person and store it at the beginning of the application itself.

  9. Call 911 - func - call

  10. Call specific person - call function

  11. Share location - to share location with all users or users in specific.

  12. Send an email - to store and edit the feedback of the user with his nearest beacon.

  13. Firstopen()- function - to open the initial screen for the user category.

cityguide's People

Contributors

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