1. Go to Firebase and sign in. Click "go to console" on the right top corner and Add project. 2. Then we could add Firebase to our Android App. 3. Follow the instruction and add necessary codes, then we can go to the project.
Some notes on CRUD application – Node.js, Express.js & MongoDB
CRUD – READ In Express, we handle a GET request with the get method: app.get(endpoint, callback) endpoint is the requested endpoint. It’s the value that comes after your domain name. Here are some examples: When you visit localhost:3000, you’re actually visiting localhost:3000/. In this case, browsers requested for /. You’re reading this article on https://zellwk.com/blog/crud-express-mongodb/. …
Continue reading “Some notes on CRUD application – Node.js, Express.js & MongoDB”
Unity 2D – Laser Defender (4)
Continued Damage dealer Create a new script file in our script folder. Add code below into the new script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class DamageDealer : MonoBehaviour { [SerializeField] int damage = 100; public int GetDamage() { return damage; } public void Hit() { Destroy(gameObject); } } And then add this script …