I have 3 views, (Home, signup, login)made in reactJs, I want to use passport in my project but I dont know how to do it, I have passport configurated and it url is working.
You'll need passport, but in a backend environment with users authentication. Something with node.js+express.js+passport+someDB.
Probably a bit more that what you're asking for, but you can use feathersjs that comes with these built in modules.
With FeathersCli you get user/pass authentication with JWToken in no time by running (after installed):
feathers generate app
then feathers generate authentication