-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment to Firebase (pod deploy firebase) #7
Comments
I've created the fbase branch where we can replace all axios calls with firebase calls and make it work without using local API. Later we can diff and patch using a shell script. |
The problem with creating a separate branch manually and pushing changes is that it'd always lag behind and we'll have trouble merging code all the time. So, It's better to just create a command that does following:
Now, we don't need to start the local API server and the Vuejs code will directly work with firebase. |
As we have discussed regarding replacing axios calls for fbase deployment, I've setup switch case for local db/fbase calls for now to make dev easier. |
just curious. Here instead of writing switch cases or any sort of hard logic, will it be better if adapter pattern is used instead? We can probably create a general interface that has methods like |
@khubo Agreed. Can you contribute this part? |
@Rajan sure, I would love to. can this wait till weekend ? |
sure @khubo |
@khubo I think this can wait as we have got a lot more features to be built out. Let's try to keep the code as simple as possible for now. |
We need a system that will replace all the axios calls with firebase CRUD embedded in the web pages. The goal is to turn our local SQLite based system into Firebase based system in the cloud.
We could create a command like below which runs a shell script to accomplish the task.
The text was updated successfully, but these errors were encountered: